Skip to content

Commit

Permalink
⚒ fix travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed May 2, 2019
1 parent 0972d6e commit d4f104c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
27 changes: 13 additions & 14 deletions .travis.yml
@@ -1,5 +1,3 @@
sudo: false

os:
- linux
- osx
Expand All @@ -11,24 +9,25 @@ node_js:
- "10"
- "12"

env:
- ESLINT_VERSION=5
# - ESLINT_VERSION=6
# env:
# - ESLINT_VERSION=5
# - ESLINT_VERSION=6

matrix:
exclude:
# Reduce build jobs.
- os: osx
env: ESLINT_VERSION=6
- os: windows
env: ESLINT_VERSION=6
# matrix:
# exclude:
# # Reduce build jobs.
# - os: osx
# env: ESLINT_VERSION=6
# - os: windows
# env: ESLINT_VERSION=6

before_script:
- npm i --no-save async
- npm i --no-save eslint@$ESLINT_VERSION; true
# - if [ $ESLINT_VERSION = "5" ]; then npm i --no-save eslint@^5.0.0; else true; fi

script:
- if [ $ESLINT_VERSION = "5" ]; then npm run lint; else true; fi
# - if [ $ESLINT_VERSION = "5" ]; then npm run -s lint; else true; fi
- npm run -s lint
- npm test

after_success:
Expand Down
1 change: 0 additions & 1 deletion scripts/update.js
Expand Up @@ -4,6 +4,5 @@
*/
"use strict"

require("./update-lib-configs-recommended")
require("./update-lib-index")
require("./update-readme")

0 comments on commit d4f104c

Please sign in to comment.