mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(CI): fix node.js version on Travis and AppVeyor (#2180)
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.
This commit is contained in:
parent
5af70e8ce3
commit
fc7e4d1065
@ -1,14 +1,14 @@
|
||||
environment:
|
||||
matrix:
|
||||
- nodejs_version: "6"
|
||||
- nodejs_version: "7"
|
||||
- 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" (
|
||||
- if "%nodejs_version%" == "7.10.1" (
|
||||
npm run lint &&
|
||||
npm run coverage &&
|
||||
npm run test-doclint
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user