So we don't forget to commit migration.
Signed-off-by: Fam Zheng <famz@redhat.com>
---
.travis.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 954dee1..2e1cf8d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,4 +7,6 @@ python:
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
-script: export PYTHONPATH=$PWD && ./manage.py migrate && ./manage.py test tests
+script:
+ - export PYTHONPATH=$PWD && ./manage.py migrate && ./manage.py test tests
+ - export PYTHONPATH=$PWD && ./manage.py makemigrations && ! git ls-files . --exclude-standard --others | grep .
--
2.14.3
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel