Fix condition in travis.

This commit is contained in:
Guo Xiang Tan 2018-05-30 14:05:16 +08:00
parent f0eeb59f9f
commit 77c99b6434
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ install:
- bash -c "if [ '$RAILS_MASTER' == '0' ]; then bundle install --without development --deployment --retry=3 --jobs=3 > /dev/null; fi"
- bash -c "if [ '$RUN_LINT' == '1' ]; then yarn global add eslint babel-eslint > /dev/null; fi"
- bash -c "if [ '$QUNIT_RUN' == '1' ]; then yarn install --dev > /dev/null; fi"
- bash -c "if [ '$RUN_LINT' == '0' ]; then bundle exec rake db:create db:migrate > /dev/null; fi"
- bash -c "if [ '$RUN_LINT' != '1' ]; then bundle exec rake db:create db:migrate > /dev/null; fi"
script:
- |