summaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..b828046
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,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