Created
April 22, 2018 15:26
-
-
Save mishal23/589a567e77570efd9a0baf0a36c407c3 to your computer and use it in GitHub Desktop.
travis ci for virtual clinic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: python | |
python: | |
- 3.5 | |
services: postgresql | |
env: | |
- DJANGO=2.0.4 | |
- DB=postresql | |
before_install: | |
- cd virtualclinic | |
install: | |
- pip install -r requirements.txt | |
- pip install codecov | |
- pip install coverage | |
before_script: | |
- psql -c "CREATE DATABASE mydb;" -U postgres | |
- coverage run tests.py | |
script: | |
- python manage.py test | |
after_success: | |
- codecov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment