Skip to content

Commit 9f5eac4

Browse files
committed
Publish coverage testing on every travis run
1 parent 7f84458 commit 9f5eac4

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
sudo: false
12
language: python
23
python:
34
- "3.5"
45
- "3.6"
6+
install:
7+
- pip install -r requirements.txt
8+
- pip install python_coveralls pytest-cov
59
script:
6-
PYTHONPATH=$PWD:$PYTHONPATH pytest
10+
PYTHONPATH=$PWD:$PYTHONPATH pytest --cov vicses.viper
11+
after_success:
12+
# Only publish coverage once, easier to always run though
13+
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then
14+
coveralls;
15+
fi

0 commit comments

Comments
 (0)