-
-
Save ajatprabha/4b9c7b3727a8f652cebcf58028fd54f5 to your computer and use it in GitHub Desktop.
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.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