-
Notifications
You must be signed in to change notification settings - Fork 62
/
.appveyor.yml
44 lines (35 loc) · 1.18 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
image:
- Visual Studio 2015
- Ubuntu
init:
- git config --global core.autocrlf true # checkout Windows-style, commit Unix-style
clone_depth: 1
environment:
PERL5LIB: /home/appveyor/perl5/lib/perl5
platform: x64
branches:
only:
- master
- appveyor
skip_tags: true
cache:
- C:\strawberry -> .appveyor.yml
install:
- cmd: if not exist "C:\strawberry" cinst strawberryperl
- cmd: set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;C:\cygwin64\bin;%PATH%
- cmd: cd C:\projects\%APPVEYOR_PROJECT_NAME%
- cmd: rename "C:\Program Files\Git\usr\bin\sh.exe" "sh-ignored.exe" # this shell does like && and such
- sh: sudo apt-get install build-essential git libssl-dev
- sh: sudo apt-get install -y perl cpanminus opensp
- sh: export PATH=/home/appveyor/perl5/bin:$PATH
- perl -v
- sh: cpanm -v Locale::gettext # Needs libintl that I fail to install on appveyor/native
- sh: cpanm -v Text::WrapI18N
- cpanm http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz
- cpanm Unicode::GCString
- cpanm Term::ReadKey
- cpanm YAML::Tiny
- cpanm -v --installdeps --notest .
build_script:
- perl Build.PL
- ./Build test