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:
Róbert Kiss
2017-05-31 21:30:55 +02:00
committed by László Monda
parent 5dc435953a
commit 14392fe580
3 changed files with 31 additions and 0 deletions

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
6.9.4

29
appveyor.yml Normal file
View 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

View File

@@ -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",