mirror of
https://github.com/Without-Proper-Instructions/GoatCTF
synced 2025-10-08 07:40:46 +00:00
Merge pull request #25 from GoatCTF/feature-travis-yml
Add travis.yml file to begin using Travis-CI.
This commit is contained in:
commit
03daf3b54e
13
.travis.yml
Normal file
13
.travis.yml
Normal file
@ -0,0 +1,13 @@
|
||||
language: python
|
||||
python:
|
||||
- "3.4"
|
||||
install:
|
||||
- "pip install -r requirements.txt"
|
||||
- "pip install -e ."
|
||||
before_script:
|
||||
- sed -e "s/SECRET_KEY = ''/SECRET_KEY = 'test'/" goatctf/goatctf/settings.py.example > goatctf/goatctf/settings.py
|
||||
- goatctf/manage.py makemigrations
|
||||
- goatctf/manage.py migrate
|
||||
script:
|
||||
- cd goatctf/tests
|
||||
- py.test
|
Loading…
x
Reference in New Issue
Block a user