From ab9b1be7144725afa927693dae9c572eade8f202 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 14 Dec 2017 12:17:19 +0800 Subject: [PATCH] Fix eslint on travis. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 41cd5ddf4a4..6b9dddfc540 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: - |