Created
February 24, 2020 17:42
-
-
Save RoySegall/b551f104660c375ec5669a9b62f789ed 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.7" | |
env: | |
- SCRIPT=travis/python-linter.sh | |
INSTALL=travis/python-setup.sh | |
- SCRIPT=travis/python-unitest.sh | |
INSTALL=travis/python-setup.sh | |
- SCRIPT=travis/react-unittest.sh | |
INSTALL=travis/react-setup.sh | |
- SCRIPT=travis/react-linter.sh | |
INSTALL=travis/react-setup.sh | |
services: | |
- mysql | |
before_script: | |
- bash $INSTALL | |
script: | |
- bash $SCRIPT |
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
#!/usr/bin/env bash | |
pycodestyle . --exclude=settings.py,migrations |
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
#!/usr/bin/env bash | |
pip install -r requirements.txt | |
mysql -e 'CREATE DATABASE bifrost;' | |
cp project/local_settings.travis.py project/local_settings.py | |
pip install pycodestyle |
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
#!/usr/bin/env bash | |
python manage.py migrate | |
python manage.py test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment