From 238d83c6e6e3d31d69558ec16891596be1ffb6b5 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 17 Jul 2017 10:01:49 +0900 Subject: [PATCH] Don't run Rails migration on Travis for QUNIT only tests. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e31fd1e742a..2949ce67adc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,7 @@ before_install: - eslint test/javascripts 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: - bash -c "if [ '$RAILS_MASTER' == '1' ]; then bundle update --retry=3 --jobs=3 arel rails seed-fu; fi"