aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..7e4209c0
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,14 @@
+language: python
+python:
+ - "2.7"
+# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
+install:
+ - "pip install coveralls --use-mirrors"
+ - "pip install nose-cov --use-mirrors"
+ - "pip install -r requirements.txt --use-mirrors"
+ - "pip install --upgrade git+https://github.com/mitmproxy/pathod.git"
+# command to run tests, e.g. python setup.py test
+script:
+ - "nosetests --with-cov --cov-report term-missing"
+after_success:
+ - coveralls \ No newline at end of file