Skip to content

Commit

Permalink
Modifying calls to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
simongarisch committed Apr 24, 2019
1 parent 7152885 commit 65dc460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ before_script:
- sleep 3 # give xvfb some time to start

script:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
py.test;
else
pytest;
fi
- pytest;
- coverage run -m pytest

after_success:
Expand Down
4 changes: 2 additions & 2 deletions tests_runner.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
call activate py27
py.test --cov-report html --cov --doctest-modules --cache-clear
pytest --cov-report html --cov --doctest-modules --cache-clear

call activate py36
py.test --cov-report html --cov --doctest-modules --cache-clear
pytest --cov-report html --cov --doctest-modules --cache-clear

pause

0 comments on commit 65dc460

Please sign in to comment.