Run the sqlite test matrix with the travis settings file too, remove unnecesary initialsetup steps
This commit is contained in:
+1
-4
@@ -19,13 +19,10 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- mysql -e 'create database mayan_edms;'
|
- mysql -e 'create database mayan_edms;'
|
||||||
- psql -c 'create database mayan_edms;' -U postgres
|
- psql -c 'create database mayan_edms;' -U postgres
|
||||||
- if [[ $DB == mysql ]]; then python manage.py initialsetup --settings=mayan.settings.travis.db_mysql; fi
|
|
||||||
- if [[ $DB == postgres ]]; then python manage.py initialsetup --settings=mayan.settings.travis.db_postgres; fi
|
|
||||||
- if [[ $DB == sqlite ]]; then python manage.py initialsetup; fi
|
|
||||||
script:
|
script:
|
||||||
- if [[ $DB == mysql ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis.db_mysql; fi
|
- if [[ $DB == mysql ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis.db_mysql; fi
|
||||||
- if [[ $DB == postgres ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis.db_postgres; fi
|
- if [[ $DB == postgres ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis.db_postgres; fi
|
||||||
- if [[ $DB == sqlite ]]; then coverage run manage.py test $TEST_APPS; fi
|
- if [[ $DB == sqlite ]]; then coverage run manage.py test $TEST_APPS --settings=mayan.settings.travis; fi
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
Reference in New Issue
Block a user