forked from cypress-io/cypress-test-tiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor-win32-x86.yml
43 lines (36 loc) · 1.26 KB
/
appveyor-win32-x86.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
# https://www.appveyor.com/docs/appveyor-yml/
skip_commits:
# do not run for testing new Linux builds
# or new Windows 64 bit builds
message: /Testing new (linux|win32 x64)/
platform:
- x86
# https://www.appveyor.com/docs/lang/nodejs-iojs/
# Test against the latest version of this Node.js version
environment:
nodejs_version: "10"
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version $env:platform
# Output useful info for debugging.
- node --version
- npm --version
- node -e "console.log(process.platform)"
- node -e "console.log(process.arch)"
- npm ci
- npm install @cypress/commit-message-install @bahmutov/print-env
- node_modules\.bin\print-env APPVEYOR
# 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
- node_modules\.bin\run-if npm run check-videos
# set commit status if necessary
on_success:
- npm run set-status -- --state success --description "on AppVeyor"
on_failure:
- npm run set-status -- --state failure --description "on AppVeyor"
# Don't actually build.
build: off