forked from danielcardoso/html-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
45 lines (39 loc) · 959 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
39
40
41
42
43
44
45
# version format
# you can use {branch} name in version format too
version: 1.0.{build}
# environment variables
environment:
global:
SNYK_TOKEN: 4d950846-8786-402e-845d-2fc86442fba9
PAGES_USER: html-pages
PAGES_PASSWORD: 1904
matrix:
- nodejs_version: "8"
- nodejs_version: "9"
- nodejs_version: "10"
- nodejs_version: "11"
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform:
- x86
- x64
# branches to build
branches:
# whitelist
only:
- master
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version $env:platform
# install modules
- npm install
# Post-install test scripts.
test_script:
- set PATH=node_modules\.bin;%APPDATA%\npm;%PATH%
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
# Don't actually build.
build: off