Skip to content

Commit df1d7ef

Browse files
author
Naor Livne
committed
adding codecov
1 parent bd7de45 commit df1d7ef

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ env:
1010
- DOCKER_HUB_REPO=worker
1111
install:
1212
- pip install -r requirements.txt
13+
- pip install codecov
1314
script:
1415
- sudo sh test/travis_ci_scripts/travis_ci_build_script.sh
15-
- python -m unittest discover
16+
- coverage run -m unittest
1617
deploy:
1718
on:
1819
all_branches: true
1920
provider: script
20-
script: bash test/travis_ci_scripts/deploy.sh
21+
script: bash test/travis_ci_scripts/deploy.sh
22+
after_success:
23+
- codecov

0 commit comments

Comments
 (0)