forked from googleapis/google-cloud-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
39 lines (33 loc) · 1.29 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
environment:
matrix:
- nodejs_version: 4
- nodejs_version: 6
- nodejs_version: 7
- nodejs_version: 8
GCLOUD_TESTS_KEY: key.appveyor.json
GCLOUD_TESTS_KEY_SECRET:
secure: usGkvXjqCzDNIQHx8oEncrZOmez7GBocB1EXM+g/9rw=
GCLOUD_TESTS_KEY_NON_WHITELIST: key.appveyor.non-whitelist.json
GCLOUD_TESTS_KEY_NON_WHITELIST_SECRET:
secure: IRvjqNWclDExf6ngyYKWjqfArffGNtvawuRqqDOLTaT8frozr9BOkxdxHCDYapR1
install:
- ps: Install-Product node $env:nodejs_version
- ps: >-
if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) {
nuget install secure-file -ExcludeVersion
secure-file\tools\secure-file -decrypt key.appveyor.json.enc -secret $env:GCLOUD_TESTS_KEY_SECRET
$env:GCLOUD_TESTS_KEY=$env:APPVEYOR_BUILD_FOLDER + '\' + $env:GCLOUD_TESTS_KEY
secure-file\tools\secure-file -decrypt key.appveyor.non-whitelist.json.enc -secret $env:GCLOUD_TESTS_KEY_NON_WHITELIST_SECRET
$env:GCLOUD_TESTS_KEY_NON_WHITELIST=$env:APPVEYOR_BUILD_FOLDER + '\' + $env:GCLOUD_TESTS_KEY_NON_WHITELIST
}
- npm install -g npm # Force using the latest npm to get dedupe during install
- set PATH=%APPDATA%\npm;%PATH%
- npm install --ignore-scripts
test_script:
- node --version
- npm --version
- npm run lint
- node ./scripts/build.js
build: off
matrix:
fast_finish: true