2016-05-30 23:20:34 +00:00
|
|
|
---
|
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
|
|
|
# Build version format
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
# Do not build on tags (GitHub only)
|
|
|
|
skip_tags: true
|
|
|
|
|
|
|
|
environment:
|
|
|
|
nodejs_version: '4'
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
|
|
|
- npm install
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2016-06-01 01:19:43 +00:00
|
|
|
- npm test
|
2016-05-31 21:36:39 +00:00
|
|
|
- npm run test:mocha
|
|
|
|
- npm run lint:js
|
|
|
|
- npm run lint:css
|
2016-05-30 23:20:34 +00:00
|
|
|
|
2016-06-05 08:21:45 +00:00
|
|
|
# cache npm modules
|
|
|
|
cache:
|
|
|
|
- node_modules
|
|
|
|
- '%APPDATA%\npm-cache'
|
|
|
|
|
2016-05-30 23:20:34 +00:00
|
|
|
# Don't actually build
|
|
|
|
build: off
|