From cbc032e44ba5f4c43b0159074b7cb508abe9871f Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Tue, 11 Aug 2015 11:52:43 -0700 Subject: [PATCH] use travis-ci to run tests --- .travis.yml | 11 +++++++++++ README.rst | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3fa73c6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: python +python: + - "2.6" + - "2.7" + - "3.2" + - "3.3" + - "3.4" +# command to install dependencies +install: "pip install -r dev-requirements.txt" +# command to run tests +script: nosetests diff --git a/README.rst b/README.rst index 6065a8b..c29cd69 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,9 @@ WakaTime ======== +.. image:: https://travis-ci.org/wakatime/wakatime.svg + :target: https://travis-ci.org/wakatime/wakatime + Fully automatic time tracking for programmers. This is the common interface for the WakaTime api. You shouldn't need to directly use this package unless you are creating a new plugin or your text editor's plugin asks you to install the wakatime cli interface.