Skip to content

Instantly share code, notes, and snippets.

@ajatprabha
Created April 12, 2018 22:58
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 ajatprabha/4b9c7b3727a8f652cebcf58028fd54f5 to your computer and use it in GitHub Desktop.
Save ajatprabha/4b9c7b3727a8f652cebcf58028fd54f5 to your computer and use it in GitHub Desktop.
language: python
python:
- "3.6"
before_install:
- export DJANGO_SETTINGS_MODULE=gymkhana.settings.prod
- export DJANGO_SECRET_KEY='q$o5mx19x9(9_^rzqf@o@s^t%t!ghix7($f9ymy49_^ryzq9x9'
- psql -c "CREATE DATABASE gymkhanadb;" -U postgres
install:
- pip3 install -r requirements.txt
- pip3 install coveralls
script:
- cd src
- flake8 .
- python3 manage.py makemigrations
- python3 manage.py migrate
- coverage run manage.py test
# after_success:
# - coveralls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment