From 77c99b6434a4277eeeb1e80ca115548abb9fe7e9 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 30 May 2018 14:05:16 +0800 Subject: [PATCH] Fix condition in travis. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ddb47185289..f77c0d6db25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: - |