forked from googleapis/google-cloud-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
33 lines (28 loc) · 891 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
environment:
matrix:
- nodejs_version: 0.12
- nodejs_version: 4
- nodejs_version: 6
- nodejs_version: 7
GCLOUD_TESTS_KEY: key.appveyor.json
GCLOUD_TESTS_KEY_SECRET:
secure: usGkvXjqCzDNIQHx8oEncrZOmez7GBocB1EXM+g/9rw=
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
}
- 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