From 99e843589c3ad84dadcd54ddea041c6eace79abc Mon Sep 17 00:00:00 2001 From: brian d foy Date: Thu, 24 May 2018 11:56:37 -0400 Subject: [PATCH] Setup AppVeyor --- .appveyor.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..043d541 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,35 @@ +# brian's standard Appveyor config for Perl 5 modules +# https://github.com/briandfoy/brians_perl_modules_appveyor_config +# This file is licensed under the Artistic License 2.0 + +image: + - Visual Studio 2015 + - Ubuntu + +environment: + PERL5LIB: /home/appveyor/perl5/lib/perl5 + +platform: x64 + +branches: + only: + - master + - appveyor + +skip_tags: true + +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;%PATH% + - cmd: cd %APPVEYOR_BUILD_FOLDER% + - sh: sudo apt-get install build-essential git libssl-dev + - sh: sudo apt-get install -y perl + - sh: export PATH=/home/appveyor/perl5/bin:$PATH + - perl -v + - cpan App::cpanminus + - cpanm --installdeps . + +build_script: + - perl Makefile.PL + - cmd: gmake test + - sh: make test