hardlounge/appveyor.yml

34 lines
642 B
YAML
Raw Normal View History

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
# Do not build feature branch with open pull requests
skip_branch_with_pr: true
2016-05-30 23:20:34 +00:00
environment:
nodejs_version: '6'
2016-05-30 23:20:34 +00:00
install:
- ps: Install-Product node $env:nodejs_version
- appveyor-retry npm install
- npm run build
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
- npm test
2016-05-30 23:20:34 +00:00
# cache npm modules
cache:
- '%AppData%\npm-cache -> package.json'
2016-05-30 23:20:34 +00:00
# Don't actually build
build: off