Skip to content

Commit

Permalink
chore(CI): fix node.js version on Travis and AppVeyor (puppeteer#2180)
Browse files Browse the repository at this point in the history
AppVeyour was configured to use the latest versions of Node for major releases. To make builds more reproducible I've changed both Travis and AppVeyor to use the same fixed versions of Node 6 and Node 7 that AppVeyor is using at the moment.
  • Loading branch information
fkorotkov authored and aslushnikov committed Mar 13, 2018
1 parent 5af70e8 commit fc7e4d1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "7"

build: off

install:
- ps: Install-Product node $env:nodejs_version
- npm install
- if "%nodejs_version%" == "7" (
npm run lint &&
npm run coverage &&
npm run test-doclint
) else (
npm run unit-node6
)
environment:
matrix:
- nodejs_version: "6.12.3"
- nodejs_version: "7.10.1"

build: off

install:
- ps: Install-Product node $env:nodejs_version
- npm install
- if "%nodejs_version%" == "7.10.1" (
npm run lint &&
npm run coverage &&
npm run test-doclint
) else (
npm run unit-node6
)
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ script:
- 'if [ "$NODE6" = "true" ]; then npm run unit-node6; fi'
jobs:
include:
- node_js: "7.6.0"
- node_js: "7.10.1"
env: NODE7=true
- node_js: "6.4.0"
- node_js: "6.12.3"
env: NODE6=true
before_deploy: "npm run apply-next-version"
deploy:
Expand Down

0 comments on commit fc7e4d1

Please sign in to comment.