Skip to content

Commit

Permalink
Drop Node.js 4 tests as Yarn doesn’t support Node.js 4 anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
iamakulov committed Nov 17, 2019
1 parent 5ba93fc commit 1455ae3
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
language: node_js
jobs:
include:
# ↓ The Greenkeeper job
- before_install:
# package-lock.json was introduced in npm@5
- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9
- npm install -g greenkeeper-lockfile@1
script:
- greenkeeper-lockfile-update
- greenkeeper-lockfile-upload
node_js: "stable"
- script: npm test
node_js: "stable"
# Check that the code is properly parsed in Node.js v4
- script: npm run test-syntax
node_js: "4"
include:
# ↓ The Greenkeeper job
- before_install:
# package-lock.json was introduced in npm@5
- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9
- npm install -g greenkeeper-lockfile@1
script:
- greenkeeper-lockfile-update
- greenkeeper-lockfile-upload
node_js: 'stable'
- script: npm test
node_js: 'stable'

0 comments on commit 1455ae3

Please sign in to comment.