forked from legendofmountainsea/LegendOfMountainSea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (31 loc) · 900 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Test against the latest version of this Node.js version
environment:
matrix:
- nodejs_version: 10
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/1857811ea920596b1bea
on_build_success: false
on_build_failure: true
on_build_status_changed: true
platform: x64
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version x64
- node -v
- npm -v
# install modules
- npm install
- npm run build-prod
# Post-install test scripts.
test_script:
- npm run flow check && npm run lint
after_test:
- npm install [email protected]
- npm install [email protected]
- ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- test/**/*.test.js -R spec --require @babel/register
- ./node_modules/.bin/codecov
cache:
- node_modules -> package.json
# Don't actually build.
build: off