mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
Improvements on CI
This commit is contained in:
parent
ab66acc156
commit
0a48d1df74
@ -1,10 +1,19 @@
|
|||||||
environment:
|
environment:
|
||||||
nodejs_version: 7
|
matrix:
|
||||||
platform:
|
- nodejs_version: 7
|
||||||
- x86
|
- nodejs_version: 6
|
||||||
- x64
|
- nodejs_version: 5
|
||||||
|
- nodejs_version: 4
|
||||||
install:
|
install:
|
||||||
- ps: Install-Product node $env:nodejs_version $env:platform
|
- ps: Install-Product node $env:nodejs_version
|
||||||
- npm install
|
- set CI=true
|
||||||
test_script: npm test
|
- npm i -g npm
|
||||||
|
- set PATH=%APPDATA%\npm;%PATH%
|
||||||
|
- npm i
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
build: off
|
build: off
|
||||||
|
version: '{build}'
|
||||||
|
shallow_clone: true
|
||||||
|
clone_depth: 1
|
||||||
|
test_script: npm t
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
# http://editorconfig.org/
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
|
10
.travis.yml
10
.travis.yml
@ -1,4 +1,8 @@
|
|||||||
sudo: false
|
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js: 7
|
node_js:
|
||||||
scripts: npm test
|
- 7
|
||||||
|
- 6
|
||||||
|
- 5
|
||||||
|
- 4
|
||||||
|
before_install:
|
||||||
|
- npm i -g npm
|
||||||
|
16
package.json
16
package.json
@ -49,13 +49,13 @@
|
|||||||
"normalize.css": "~5.0.0"
|
"normalize.css": "~5.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^6.5.3",
|
"autoprefixer": "^6.5.4",
|
||||||
"ava": "^0.17.0",
|
"ava": "^0.17.0",
|
||||||
"backstopjs": "^2.3.3",
|
"backstopjs": "^2.3.5",
|
||||||
"banner-cli": "^0.6.0",
|
"banner-cli": "^0.9.2",
|
||||||
"browser-sync": "^2.18.2",
|
"browser-sync": "^2.18.5",
|
||||||
"husky": "^0.11.6",
|
"husky": "^0.11.9",
|
||||||
"node-sass": "^3.13.0",
|
"node-sass": "^3.13.1",
|
||||||
"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",
|
||||||
@ -64,7 +64,7 @@
|
|||||||
"sass-lint": "^1.10.2"
|
"sass-lint": "^1.10.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^7.0.0"
|
"node": ">=4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "run-p build watch serve",
|
"start": "run-p build watch serve",
|
||||||
@ -81,7 +81,7 @@
|
|||||||
"backstop": "run-s build && run-p serve compare",
|
"backstop": "run-s build && run-p serve compare",
|
||||||
"reference": "backstop reference --configPath=backstop.conf.js",
|
"reference": "backstop reference --configPath=backstop.conf.js",
|
||||||
"compare": "backstop test --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",
|
"prestart": "npm install",
|
||||||
"pretest": "npm install"
|
"pretest": "npm install"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user