Add appveyor CI integration (#292)
* build(npm): Add .nvmrc file * style(.editorconfig): Add json rule to editorconfig file * build(npm): Add test srcipt command to the package.json file * build(appveyor): Add appveyor CI * build(appveyor): not npm upgrade to the latest version * style(editorconfig): Revert json rule
This commit is contained in:
committed by
László Monda
parent
5dc435953a
commit
14392fe580
29
appveyor.yml
Normal file
29
appveyor.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
os: unstable
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- nodejs_version: 6.9.4
|
||||
|
||||
cache:
|
||||
- node_modules -> package.json
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
build: off
|
||||
|
||||
shallow_clone: true
|
||||
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version
|
||||
- set CI=true
|
||||
- set PATH=%APPDATA%\npm;%PATH%
|
||||
- npm install
|
||||
|
||||
test_script:
|
||||
- node --version
|
||||
- npm --version
|
||||
- npm run build
|
||||
- npm run build:test
|
||||
- npm run lint
|
||||
- npm run test
|
||||
@@ -71,6 +71,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "run-p build:usb \"symlink -- -i\" ",
|
||||
"test": "cd ./test-serializer && node ./test-serializer.js",
|
||||
"lint": "run-s -scn lint:ts lint:style",
|
||||
"lint:ts": "tslint \"electron/**/*.ts\" \"web/**/*.ts\" \"shared/**/*.ts\" \"test-serializer/**/*.ts\"",
|
||||
"lint:style": "stylelint \"electron/**/*.scss\" \"web/**/*.scss\" \"shared/**/*.scss\" --syntax scss",
|
||||
|
||||
Reference in New Issue
Block a user