forked from CrowdStrike/faltest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (27 loc) · 832 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: "10"
DEBUG: "@faltest*,faltest-helpers"
DETECT_CHROMEDRIVER_VERSION: true
branches:
only:
- master
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf true
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- yarn install --frozen-lockfile
# Post-install test scripts.
test_script:
# https://stackoverflow.com/a/51773107/1703845
- wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value
- yarn test:acceptance
cache:
# http://help.appveyor.com/discussions/questions/1310-delete-cache
- node_modules -> package.json
# https://yarnpkg.com/lang/en/docs/install-ci/
- "%LOCALAPPDATA%\\Yarn"
# Don't actually build.
build: off