forked from wojtkowiak/meteor-desktop
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
appveyor.yml
50 lines (42 loc) · 1.14 KB
/
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
build: off
os: unstable
skip_tags: true
environment:
matrix:
- nodejs_version: "14"
test: "normal"
platform: x64
- nodejs_version: "14"
test: "integration"
platform: x64
cache:
- node_modules -> appveyor.yml
- '%APPDATA%\npm\node_modules -> appveyor.yml'
- '%APPDATA%\npm-cache -> appveyor.yml'
- '%USERPROFILE%\.electron -> appveyor.yml'
- '%LOCALAPPDATA%\Yarn -> appveyor.yml'
- '%LOCALAPPDATA%\.meteor -> appveyor.yml'
# - tests/.__tmp_int -> appveyor.yml
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g npm@6
- npm prune
- npm install
- ps: >-
if ($env:test -eq "integration") {
if ((Get-Command "meteor" -ErrorAction SilentlyContinue) -eq $null) {
choco install meteor --params "'/RELEASE:2.6.1'"
}
}
- ps: refreshenv
- cmd: refreshenv
# Post-install test scripts.
test_script:
- node --version
- npm --version
- if %test%==integration meteor --version
- if not %test%==integration npm test
- if %test%==integration npm run prepare-integration-tests
- if %test%==integration npm run test-integration
#
# cache clear