thelounge/appveyor.yml
2018-02-20 11:28:14 +02:00

34 lines
619 B
YAML

---
# 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
environment:
nodejs_version: '6'
install:
- ps: Install-Product node $env:nodejs_version
- yarn --frozen-lockfile
- yarn build
- yarn add mocha-appveyor-reporter
- echo --reporter mocha-appveyor-reporter >> test/mocha.opts
test_script:
- node --version
- yarn --version
- yarn test
# cache npm modules
cache:
- "%LOCALAPPDATA%\\Yarn"
# Don't actually build
build: off