-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
50 lines (41 loc) · 956 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
46
47
48
49
50
image:
- Ubuntu
environment:
matrix:
- nodejs_version: '8'
- nodejs_version: '10'
# Fail on first error
matrix:
fast_finish: true
# Specify cache for yarn in cross platform way
for:
- matrix:
except:
- image: Ubuntu
cache:
- "%LOCALAPPDATA%\\Yarn"
- matrix:
only:
- image: Ubuntu
cache:
- '$HOME/.cache/yarn'
shallow_clone: true
install:
# Install specified version of Node.JS (cross platform capable way)
- cmd: powershell Install-Product node $env:nodejs_version
- sh: nvm install $nodejs_version
# Set execution flag on script that runs inside docker
- sh: chmod +x ./scripts/build-prod.sh
# install dependencies
- yarn install --ignore-optional
- yarn build
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- yarn --version
- node --version
- npm --version
# Run all tests
- yarn test
# Don't actually build.
build: off