2016-05-30 19:20:34 -04:00
|
|
|
---
|
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
|
|
|
# Build version format
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
# Do not build on tags (GitHub only)
|
|
|
|
skip_tags: true
|
|
|
|
|
2017-04-22 16:04:18 +03:00
|
|
|
# Do not build feature branch with open pull requests
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
2016-05-30 19:20:34 -04:00
|
|
|
environment:
|
|
|
|
nodejs_version: '4'
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
2016-11-21 19:02:56 -08:00
|
|
|
- appveyor-retry npm install
|
2017-01-07 18:29:56 -05:00
|
|
|
- npm run build
|
2016-06-07 17:41:24 +03:00
|
|
|
- npm install mocha-appveyor-reporter
|
|
|
|
- echo --reporter mocha-appveyor-reporter >> test/mocha.opts
|
2016-05-30 19:20:34 -04:00
|
|
|
|
|
|
|
test_script:
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2016-05-31 21:19:43 -04:00
|
|
|
- npm test
|
2016-05-30 19:20:34 -04:00
|
|
|
|
2016-11-21 19:02:56 -08:00
|
|
|
# cache npm modules
|
|
|
|
cache:
|
|
|
|
- '%AppData%\npm-cache -> package.json'
|
|
|
|
|
2016-05-30 19:20:34 -04:00
|
|
|
# Don't actually build
|
|
|
|
build: off
|