summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authoradityacp2020-03-05 11:07:36 +0530
committeradityacp2020-03-05 11:07:36 +0530
commit8a1f5bdb2075cb3a5d09188b188e2eeb2db18993 (patch)
tree951f0b6c73d6c26a3cc3d98e8ee6bdd9b373cf4b /.travis.yml
parent8496eda909d341fd39d98167546d76e5b68ffd59 (diff)
downloadonline_test-8a1f5bdb2075cb3a5d09188b188e2eeb2db18993.tar.gz
online_test-8a1f5bdb2075cb3a5d09188b188e2eeb2db18993.tar.bz2
online_test-8a1f5bdb2075cb3a5d09188b188e2eeb2db18993.zip
Add migrations command in travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0d726fe..4b69c81 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,8 @@ install:
# command to run tests and coverage
script:
+ - python manage.py makemigrations
+ - python manage.py migrate
- coverage erase
- coverage run -p manage.py test -v 2 --settings online_test.test_settings yaksh
- coverage run -p manage.py test -v 2 --settings online_test.test_settings grades