Skip to content

Commit

Permalink
Chore: update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Jun 23, 2018
1 parent 25c2945 commit a8eb521
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ node_js:

env:
- ESLINT_VERSION=^4.19.1
- ESLINT_VERSION=^5.0.0

before_script:
- npm i --no-save eslint@$ESLINT_VERSION; true

script:
- if [ $ESLINT_VERSION = ^4.19.1 ]; then npm run lint; fi
- if [ $ESLINT_VERSION = ^5.0.0 ]; then npm run lint; fi
- npm test

after_success:
Expand All @@ -30,5 +31,5 @@ deploy:
on:
branch: master
node: "10"
condition: $ESLINT_VERSION = ^4.19.1
condition: $ESLINT_VERSION = ^5.0.0
skip-cleanup: true

0 comments on commit a8eb521

Please sign in to comment.