Skip to content

Instantly share code, notes, and snippets.

@mishal23
Created April 22, 2018 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mishal23/589a567e77570efd9a0baf0a36c407c3 to your computer and use it in GitHub Desktop.
Save mishal23/589a567e77570efd9a0baf0a36c407c3 to your computer and use it in GitHub Desktop.
travis ci for virtual clinic
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