Improvements on CI

This commit is contained in:
CJ Patoilo 2016-12-13 02:19:30 -03:00
parent ab66acc156
commit 0a48d1df74
No known key found for this signature in database
GPG Key ID: BB04A2FB1C21BF9D
4 changed files with 31 additions and 19 deletions

View File

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

View File

@ -1,4 +1,3 @@
# http://editorconfig.org/
root = true
[*]

View File

@ -1,4 +1,8 @@
sudo: false
language: node_js
node_js: 7
scripts: npm test
node_js:
- 7
- 6
- 5
- 4
before_install:
- npm i -g npm

View File

@ -49,13 +49,13 @@
"normalize.css": "~5.0.0"
},
"devDependencies": {
"autoprefixer": "^6.5.3",
"autoprefixer": "^6.5.4",
"ava": "^0.17.0",
"backstopjs": "^2.3.3",
"banner-cli": "^0.6.0",
"browser-sync": "^2.18.2",
"husky": "^0.11.6",
"node-sass": "^3.13.0",
"backstopjs": "^2.3.5",
"banner-cli": "^0.9.2",
"browser-sync": "^2.18.5",
"husky": "^0.11.9",
"node-sass": "^3.13.1",
"npm-run-all": "^2.3.0",
"nyc": "^10.0.0",
"onchange": "^2.5.0",
@ -64,7 +64,7 @@
"sass-lint": "^1.10.2"
},
"engines": {
"node": "^7.0.0"
"node": ">=4"
},
"scripts": {
"start": "run-p build watch serve",
@ -81,7 +81,7 @@
"backstop": "run-s build && run-p serve compare",
"reference": "backstop reference --configPath=backstop.conf.js",
"compare": "backstop test --configPath=backstop.conf.js",
"precommit": "run-s build test && git add dist/*",
"precommit": "run-s build test",
"prestart": "npm install",
"pretest": "npm install"
}