thelounge/appveyor.yml

35 lines
756 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
- yarn --frozen-lockfile
- yarn build
- yarn add mocha-appveyor-reporter
- ps: (gc test/mocha.opts) -replace 'dot', 'mocha-appveyor-reporter' | sc test/mocha.opts
- ps: (gc test/mocha-webpack.opts) -replace 'dot', 'mocha-appveyor-reporter' | sc test/mocha-webpack.opts
2016-05-30 23:20:34 +00:00
test_script:
- node --version
- yarn --version
- yarn test
2016-05-30 23:20:34 +00:00
# cache npm modules
cache:
- "%LOCALAPPDATA%\\Yarn"
2016-05-30 23:20:34 +00:00
# Don't actually build
build: off