Skip to content

Commit

Permalink
Switch Travis config to use pytest, for #747.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Dec 11, 2019
1 parent 80742f2 commit 992389f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ script:
- set -e
- npm run test:travis
- cd kive
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then ./manage.py test --setting kive.settings_mocked ; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coverage run manage.py test --setting kive.settings_test_pg ; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then ./manage.py test --setting kive.settings_test_pg ; fi
- coverage run -m pytest --ds kive.settings_test_pg
- cd ../api
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coverage run --source=kiveapi -m pytest ; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then PYTHONPATH=kiveapi python -m pytest ; fi
- coverage run --source=kiveapi -m pytest
- set +e
after_success:
- pip install codecov
Expand Down

0 comments on commit 992389f

Please sign in to comment.