Skip to content

Commit

Permalink
Fix (?) coverage on Travis. Bis
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Jun 17, 2017
1 parent f165589 commit fc73270
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,15 @@ install:
fi
script:
- export COVERAGE_FILE=/tmp/.coverage
- 'echo "[run]" > /tmp/.coveragerc'
- 'echo "branch = True" >> /tmp/.coveragerc'
- 'echo "include = $(pwd)/ActionTree/*" >> /tmp/.coveragerc'
- 'echo "concurrency = multiprocessing" >> /tmp/.coveragerc'
- 'echo "[report]" >> /tmp/.coveragerc'
- 'echo "exclude_lines =" >> /tmp/.coveragerc'
- 'echo " Not unittested: ..." >> /tmp/.coveragerc'
- cat /tmp/.coveragerc
- '(echo "[run]"; echo "branch = True"; echo "include = $(pwd)/ActionTree/*"; echo "concurrency = multiprocessing"; echo "[report]"; echo "exclude_lines ="; echo " Not unittested: ...") > /tmp/.coveragerc'
- coverage run --rcfile=/tmp/.coveragerc setup.py test
- coverage combine
- if [ "v$TRAVIS_PYTHON_VERSION" == "v2.7" ];
then
python setup.py build_sphinx --builder=doctest;
fi
after_success:
- coveralls
- coveralls --rcfile=/tmp/.coveragerc
deploy:
- provider: pypi
user: jacquev6
Expand Down

0 comments on commit fc73270

Please sign in to comment.