diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..c250d84b --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +6.9.4 diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..921f880c --- /dev/null +++ b/appveyor.yml @@ -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 diff --git a/package.json b/package.json index ed3b7d60..d4f46702 100644 --- a/package.json +++ b/package.json @@ -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",