Skip to content

Commit

Permalink
Run the sqlite test matrix with the travis settings file too, remove …
Browse files Browse the repository at this point in the history
…unnecesary initialsetup steps
  • Loading branch information
siloraptor committed Jan 29, 2015
1 parent 5e953c8 commit be940ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ install:
before_script:
- mysql -e 'create database mayan_edms;'
- 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:
- 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 == 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:
- coveralls
branches:
Expand Down

0 comments on commit be940ea

Please sign in to comment.