Skip to content

Commit 78ecdb9

Browse files
committed
Install eslint on ci so js lint failures can block the build
1 parent 4346231 commit 78ecdb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ before_install:
213213
install:
214214
- case "$TRAVIS_OS_NAME" in
215215
linux)
216+
$HOME/.nvm/nvm.sh &&
217+
nvm install stable &&
218+
nvm use stable &&
219+
npm install eslint;
216220
travis_retry curl -fo $HOME/stamp https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-03-17-stamp-x86_64-unknown-linux-musl &&
217221
chmod +x $HOME/stamp &&
218222
export PATH=$PATH:$HOME

0 commit comments

Comments
 (0)