This repository has been archived by the owner on Apr 15, 2023. It is now read-only.
forked from raix/vscode-perl-debug
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
72 lines (67 loc) · 2.52 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Test against this version of Node.js
environment:
nodejs_version: "8.9.4"
install_berry_perl: "cmd /C git clone https://github.com/stevieb9/berrybrew && cd berrybrew/bin && berrybrew.exe available && berrybrew.exe install %version% && berrybrew.exe switch %version%"
install_active_perl: "cmd /C choco install activeperl -version %version%"
install_berry_padwalker: "cmd /C cpanm PadWalker"
install_active_padwalker: "cmd /C ppm install PadWalker"
matrix:
# http://strawberryperl.com/
- install_perl: "%install_berry_perl%"
install_padwalker: "%install_berry_padwalker%"
version: "5.26.0_64"
- install_perl: "%install_berry_perl%"
install_padwalker: "%install_berry_padwalker%"
version: "5.24.2_64"
- install_perl: "%install_berry_perl%"
install_padwalker: "%install_berry_padwalker%"
version: "5.22.3_64"
- install_perl: "%install_berry_perl%"
install_padwalker: "%install_berry_padwalker%"
version: "5.20.3_64"
- install_perl: "%install_berry_perl%"
install_padwalker: "%install_berry_padwalker%"
version: "5.18.4_64"
- install_perl: "%install_berry_perl%"
install_padwalker: "%install_berry_padwalker%"
version: "5.16.3_64"
# https://chocolatey.org/packages/ActivePerl
- install_perl: "%install_active_perl%"
install_padwalker: "%install_active_padwalker%"
version: "5.24.2.2403"
# - install_perl: "%install_active_perl%"
# install_padwalker: "%install_active_padwalker%"
# version: "5.22.3.2204" # "5.22.0.2200"
# - install_perl: "%install_active_perl%"
# install_padwalker: "%install_active_padwalker%"
# version: "5.18.2.1801"
# - install_perl: "%install_active_perl%"
# install_padwalker: "%install_active_padwalker%"
# version: "5.14.2.2"
cache:
- "%LOCALAPPDATA%\\Yarn"
# Install scripts. (runs after repo cloning)
install:
# Install perl
- cmd: "%install_perl%"
# Make sure we are in project root
- cmd: "cd %APPVEYOR_BUILD_FOLDER%"
# Set path for berrybrew
- SET PATH=C:\berrybrew\%version%\c\bin;C:\berrybrew\%version%\perl\site\bin;C:\berrybrew\%version%\perl\bin;%PATH%
# Install PadWalker
- cmd: "%install_padwalker%"
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- yarn
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- yarn --version
- perl --version
# run tests
- yarn test
# Don't actually build.
build: off