Skip to content

Commit

Permalink
coverage in travis stage
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed May 19, 2018
1 parent 0556497 commit c869fd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ cache: pip
before_install:
- docker-compose -f tests/server_dir/docker-compose.yml up -d
install: pip install tox-travis
script: tox
jobs:
include:
- stage: test
script: tox
- stage: coverage
python: 3.5
script: codecov
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = begin,py27,py35,codecov
envlist = begin,py27,py35

[testenv]
commands = coverage run --append -m unittest discover -s tests/
Expand Down

0 comments on commit c869fd6

Please sign in to comment.