commit e2f02c8b2af2c810696fa5b320230e4250097b66 Author: Arturo Filastò art@fuffa.org Date: Thu Aug 28 18:37:26 2014 +0200
Update travis.yml to run unittests. --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml index 0a42f4a..19bf2c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,8 @@ python: - "2.7" - "2.6" install: - - pip install -r .requirements.travis --use-mirrors + - pip install -r .requirements.txt --use-mirrors + - pip install coveralls - python setup.py install # command to run tests, e.g. python setup.py test script: @@ -39,3 +40,6 @@ script: - test -f "server.csr" && rm -f server.csr - chmod +x .travis.test.sh && ./.travis.test.sh 30 ./bin/oonib - echo "Build successful." + - $(which coverage) run $(which trial) oonib +after_success: + - pip install coveralls
tor-commits@lists.torproject.org