8d31a0b312
Return cache but invalidate it when needed Add appveyor-retry Remove spaces
30 lines
543 B
YAML
30 lines
543 B
YAML
---
|
|
# 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
|
|
- appveyor-retry npm install
|
|
- npm install mocha-appveyor-reporter
|
|
- echo --reporter mocha-appveyor-reporter >> test/mocha.opts
|
|
|
|
test_script:
|
|
- node --version
|
|
- npm --version
|
|
- npm test
|
|
|
|
# cache npm modules
|
|
cache:
|
|
- '%AppData%\npm-cache -> package.json'
|
|
|
|
# Don't actually build
|
|
build: off
|