Fix eslint on travis.

This commit is contained in:
Guo Xiang Tan 2017-12-14 12:17:19 +08:00
parent 52e38e5527
commit ab9b1be714
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ before_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' == '0' ]; then bundle install --without development --deployment --retry=3 --jobs=3; fi"
- bash -c "if [ '$RUN_LINT' == '1' ]; then yarn global add eslint babel-eslint; fi"
- bash -c "if [ '$RUN_LINT' == '1' ]; then yarn global add eslint babel-eslint; export PATH="$PATH:`yarn global bin`" fi"
script:
- |