Don't run Rails migration on Travis for QUNIT only tests.

This commit is contained in:
Guo Xiang Tan 2017-07-17 10:01:49 +09:00
parent ad0e43507b
commit 238d83c6e6
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ before_install:
- eslint test/javascripts - eslint test/javascripts
before_script: before_script:
- bundle exec rake db:create db:migrate - bash -c "if [ '$QUNIT_RUN' == '0' ]; then bundle exec rake db:create db:migrate; fi
install: install:
- bash -c "if [ '$RAILS_MASTER' == '1' ]; then bundle update --retry=3 --jobs=3 arel rails seed-fu; fi" - bash -c "if [ '$RAILS_MASTER' == '1' ]; then bundle update --retry=3 --jobs=3 arel rails seed-fu; fi"