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
|
2016-06-07 14:41:24 +00:00
|
|
|
- npm install mocha-appveyor-reporter
|
|
|
|
- echo --reporter mocha-appveyor-reporter >> test/mocha.opts
|
2016-05-30 23:20:34 +00:00
|
|
|
|
|
|
|
test_script:
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2016-06-01 01:19:43 +00:00
|
|
|
- npm test
|
2016-05-30 23:20:34 +00:00
|
|
|
|
2016-06-05 08:21:45 +00:00
|
|
|
# cache npm modules
|
|
|
|
cache:
|
2016-10-17 05:41:14 +00:00
|
|
|
- '%AppData%\npm-cache'
|
2016-06-05 08:21:45 +00:00
|
|
|
|
2016-05-30 23:20:34 +00:00
|
|
|
# Don't actually build
|
|
|
|
build: off
|