-
Notifications
You must be signed in to change notification settings - Fork 4
/
.appveyor.yml
64 lines (52 loc) · 1.82 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
# An experimental AppVeyor config to install Strawberry Perl and
# Rakudo Star. Once installed, AppVeyor caches those for use next time.
#
# I specifically don't build Rakudo from GitHub because I want to use
# the "normal people" release.
# AppVeyor environment variables: https://www.appveyor.com/docs/environment-variables/
os: Visual Studio 2015
platform: x64
# clearing the cache: https://github.com/appveyor/ci/issues/985
# change .appveyor_clear_cache.txt to invalidate cache
#
# If the build is successful, AppVeyor caches these files and
# directories for future builds
cache:
- C:\Strawberry -> .appveyor_clear_cache.txt
- C:\Rakudo -> .appveyor_clear_cache.txt
branches:
only:
- master
# set your own environment variables here.
#
# Perl 5's Test::Harness has several env variables (many appear as prove switches)
# https://metacpan.org/pod/Test::Harness
environment:
MY_VAR: true
MSIEXEC_WAIT_SECONDS: 10
AUTOMATED_TESTING: 1
TEST_VERBOSE: 0
HARNESS_OPTIONS:
HARNESS_VERBOSE: 0
HARNESS_TIMER: 1
HARNESS_PERL_SWITCHES: -MDevel::Cover
install:
# Install Strawberry Perl with chocolately.
# Strawberry Perl comes with `prove`, which we use to run the tests.
# http://strawberryperl.com
# https://chocolatey.org/packages/StrawberryPerl
- if not exist "C:\Strawberry" cinst strawberryperl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- ps: refreshenv
- if not exist "C:\Rakudo" cinst rakudostar
- SET PATH=C:\rakudo\bin;C:\rakudo\share\perl6\site\bin;%PATH%
- ps: refreshenv
- perl6 -v
- zef --verbose install .
build: off
# many of the settings in `environment` affect what happens in the test script
#
# I'd like to run Devel::Cover and submit to Coveralls too.
test_script:
- prove -v -e "perl6 -Ilib" t/
shallow_clone: true