Remove variables: section for compatibility with older test runners.

This commit is contained in:
Roberto Rosario
2015-08-19 02:03:50 -04:00
parent a2f884179b
commit 401b9a81dc

View File

@@ -7,8 +7,6 @@ before_script:
- sudo apt-get install -qq python-dev gcc tesseract-ocr tesseract-ocr-deu unpaper ghostscript libjpeg-dev libpng-dev poppler-utils
- mysql -u root -e 'create database mayan_edms;'
- psql -c 'create database mayan_edms;' -U postgres
variables:
- TEST_APPS: "acls authentication django_gpg document_indexing document_signatures documents dynamic_search folders lock_manager ocr permissions sources tags"
stages:
- build
- test
@@ -23,6 +21,7 @@ job1:
job2:
stage: test
script:
- export TEST_APPS="acls authentication django_gpg document_indexing document_signatures documents dynamic_search folders lock_manager ocr permissions sources tags"
- coverage run manage.py test $TEST_APPS --settings=mayan.settings.testing.base
- coverage run manage.py test $TEST_APPS --settings=mayan.settings.testing.travis.db_mysql
- coverage run manage.py test $TEST_APPS --settings=mayan.settings.testing.travis.db_postgres