forked from cypress-io/cypress-test-tiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (28 loc) · 974 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
platform:
- x86
- x64
# https://www.appveyor.com/docs/lang/nodejs-iojs/
# Test against the latest version of this Node.js version
environment:
nodejs_version: "8"
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version $env:platform
# NPM v3 has flaky permission issues on Windows
- npm install -g npm@5
# Output useful info for debugging.
- node --version
- npm --version
- node -e "console.log(process.platform)"
- node -e "console.log(process.arch)"
- npm install
# maybe install Cypress based on commit message
- node_modules\.bin\commit-message-install --else "npm install cypress"
# Post-install test scripts.
test_script:
- node_modules\.bin\run-if npm run cypress:verify
- node_modules\.bin\run-if npm run cypress:run -- --record
# ugghh, what is wrong with Windows not finding files by wildcard
# - node_modules\.bin\run-if npm run check-videos
# Don't actually build.
build: off