forked from OctoLinker/OctoLinker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
32 lines (28 loc) · 837 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
# Test against this version of Node.js
environment:
nodejs_version: "6"
cache:
- node_modules
# 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
- appveyor-retry choco install firefox
- appveyor-retry choco install googlechrome --ignore-checksums
- appveyor-retry choco install phantomjs
- appveyor-retry choco install zip
# install modules
- npm install -g npm@latest
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# Make sure build works on Windows
- npm run package-all
# run tests
- set PHANTOMJS_BIN=C:\ProgramData\chocolatey\bin\phantomjs.exe
- appveyor-retry call npm test
# Don't actually build.
build: off