Change syncdb to migrations

This commit is contained in:
Ian Adam Naval 2014-10-31 23:09:17 -04:00
parent d03e7efd78
commit 2e962be33d

View File

@ -6,7 +6,8 @@ install:
- "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 syncdb
- goatctf/manage.py makemigrations
- goatctf/manage.py migrate
script:
- cd goatctf/tests
- py.test