-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
57 lines (48 loc) · 1.58 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
50
51
52
53
54
55
56
57
# ==============================================================================
#
# Here I am using the APPVEYOR_BUILD_WORKER_IMAGE "tweak" environment variable
# so that we can run CI on multiple OSes. For added test combinations, each OS
# will run a different version of Python.
#
# Currently, only MacOS and Windows are tested on AppVeyor as their
# Ubuntu/Python is fucked up and it's not easy to run a specific version of
# Python, let alone try to find the associated version of Pip. In the mean time
# Linux builds will continue to be tested with the Gitlab CI runners.
#
# Image "tweak":
# https://www.appveyor.com/docs/build-environment/#using-multiple-images-for-the-same-build)
#
# CI on Linux:
# https://www.appveyor.com/docs/linux-images-software/#python
#
# CI on Mac OS:
# https://www.appveyor.com/docs/macos-images-software/#python
#
# CI on Windows:
# https://www.appveyor.com/docs/windows-images-software/#python
#
# Build stages for YML script:
# https://www.appveyor.com/docs/build-configuration/
#
# ==============================================================================
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
APPVEYOR_YML_DISABLE_PS_LINUX: true
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
build: off
install:
- ps: >-
Get-ChildItem Env: | Sort Name;
Install-Product node $env:nodejs_version;
& node --version;
& npm --version;
& npm install 2>&1;
$Env:LastExitCode;
- sh: >-
env | sort;
node --version;
npm --version;
npm install;
test_script:
- npm run test