forked from balena-io/balena-sdk
/
appveyor.yml
66 lines (57 loc) · 1.83 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
init:
- git config --global core.autocrlf input
- cmd: set NODE_OPTIONS=--max-old-space-size=3072
cache:
- C:\Users\appveyor\.node-gyp
- '%AppData%\npm-cache'
matrix:
fast_finish: true
# what combinations to test
environment:
matrix:
- nodejs_version: 12
TEST_EMAIL: ci_test_user+testsdk1@resin.io
TEST_PASSWORD:
secure: NVtsC140RoZJmrCHqyKc2A==
TEST_USERNAME: ci_test_user_testsdk1
TEST_REGISTER_EMAIL: ci_test_register_user+testsdk1@resin.io
TEST_REGISTER_PASSWORD:
secure: NVtsC140RoZJmrCHqyKc2A==
TEST_REGISTER_USERNAME: ci_test_register_user_testsdk1
TEST_MEMBER_EMAIL: ci_test_member_user+testsdk1@resin.io
TEST_MEMBER_PASSWORD:
secure: NVtsC140RoZJmrCHqyKc2A==
TEST_MEMBER_USERNAME: ci_test_member_user_testsdk1
TEST_ONLY_ON_ENVIRONMENT: node
- nodejs_version: 12
TEST_EMAIL: ci_test_user+testsdk2@resin.io
TEST_PASSWORD:
secure: NVtsC140RoZJmrCHqyKc2A==
TEST_USERNAME: ci_test_user_testsdk2
TEST_REGISTER_EMAIL: ci_test_register_user+testsdk2@resin.io
TEST_REGISTER_PASSWORD:
secure: NVtsC140RoZJmrCHqyKc2A==
TEST_REGISTER_USERNAME: ci_test_register_user_testsdk2
TEST_MEMBER_EMAIL: ci_test_member_user+testsdk2@resin.io
TEST_MEMBER_PASSWORD:
secure: NVtsC140RoZJmrCHqyKc2A==
TEST_MEMBER_USERNAME: ci_test_member_user_testsdk2
TEST_ONLY_ON_ENVIRONMENT: browser
install:
- ps: Install-Product node $env:nodejs_version x64
- npm install -g npm@6
- set PATH=%APPDATA%\npm;%PATH%
- npm install
build: off
test_script:
- node --version
- npm --version
- cmd: npm test
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/3d5ed28fa9ae4c25f46f
on_build_success: false
on_build_failure: true
on_build_status_changed: true