Merge pull request #195 from DanielRuf/chore/update-appveyor-config

chore: working builds for Appveyor, use Node.js 8 and 10
This commit is contained in:
CJ Patoilo 2019-01-30 16:16:24 -03:00 committed by GitHub
commit 92cd1ff854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 17 deletions

View File

@ -1,19 +1,19 @@
os: Visual Studio 2015
version: "{build}"
build: off
platform: x64
environment: environment:
matrix: matrix:
- nodejs_version: 7 - nodejs_version: 10
- nodejs_version: 6 - nodejs_version: 8
- nodejs_version: 5
- nodejs_version: 4
install: install:
- ps: Install-Product node $env:nodejs_version - ps: Install-Product node $env:nodejs_version x64
- set CI=true - set CI=true
- npm i -g npm - npm i -g npm@latest
- set PATH=%APPDATA%\npm;%PATH% - set PATH=%APPDATA%\npm;%PATH%
- npm i - npm install
matrix: matrix:
fast_finish: true fast_finish: true
build: off
version: '{build}'
shallow_clone: true shallow_clone: true
clone_depth: 1 clone_depth: 1
test_script: npm t test_script: npm t

View File

@ -1,8 +1,6 @@
language: node_js language: node_js
node_js: node_js:
- 7 - 10
- 6 - 8
- 5
- 4
before_install: before_install:
- npm i -g npm - npm i -g npm@latest

View File

@ -57,13 +57,13 @@
"eslint": "^3.14.0", "eslint": "^3.14.0",
"eslint-config-styled": "^0.0.0", "eslint-config-styled": "^0.0.0",
"husky": "^0.11.9", "husky": "^0.11.9",
"node-sass": "^3.13.1", "node-sass": "^4.9.0",
"npm-run-all": "^2.3.0", "npm-run-all": "^2.3.0",
"nyc": "^10.0.0", "nyc": "^10.0.0",
"onchange": "^2.5.0", "onchange": "^2.5.0",
"postcss-cli": "^2.6.0", "postcss-cli": "^2.6.0",
"rimraf": "^2.5.4", "rimraf": "^2.5.4",
"sass-lint": "^1.10.2" "sass-lint": "^1.12.1"
}, },
"engines": { "engines": {
"node": ">=4" "node": ">=4"
@ -84,5 +84,8 @@
"ava": "nyc ava", "ava": "nyc ava",
"test": "run-s build lint ava", "test": "run-s build lint ava",
"precommit": "run-p test" "precommit": "run-p test"
},
"resolutions": {
"natives": "1.1.3"
} }
} }