summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.coveralls.yml3
-rw-r--r--.travis.yml6
2 files changed, 5 insertions, 4 deletions
diff --git a/.coveralls.yml b/.coveralls.yml
deleted file mode 100644
index 7a1d4a3..0000000
--- a/.coveralls.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-service_name: travis-pro
-repo_token: 1mUyRvK28QaLiKElPYgQGVlrUHxFhS037
-
diff --git a/.travis.yml b/.travis.yml
index df932f4..9a23b1b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,6 +12,7 @@ before_install:
- tar xzf rel-3.0.12.tar.gz
- cd swig-rel-3.0.12 && ./autogen.sh && ./configure --prefix=/usr && make && sudo make install && cd ..
- sudo pip install coverage
+ - sudo pip install coveralls
- echo "import coverage" | sudo tee --append /usr/lib/python2.7/sitecustomize.py
- echo "coverage.process_startup()" | sudo tee --append /usr/lib/python2.7/sitecustomize.py
@@ -20,6 +21,9 @@ script:
- echo "[run]" >> .coveragerc
- echo "source = $PWD/src" >> .coveragerc
- echo "parallel = True" >> .coveragerc
- - coverage run --rcfile=$PWD/.coverage runtest.py -a || if [[ $? == 2 ]]; then exit 0; else exit 1; fi
+ - coverage run --rcfile=$PWD/.coveragerc runtest.py -a || if [[ $? == 2 ]]; then true; else false; fi
+
+after_success:
- coverage combine
- coverage report
+ - coveralls --rcfile=$PWD/.coveragerc