From 47db1ebc45b50f6219b977132bc59d2ff8898c81 Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Fri, 24 Nov 2017 16:20:35 +0100 Subject: [PATCH] Appveyor tests fix: * Fallback to use perl 5.24.2.1 as 5.26 is failing to build Win32::Daemon Appveyor test updates: * Remove Strawberry installation cache * Setup a test matrix to build on x86 and x64 platform * Don't make Module::Install tests * Don't use force and verbose options with cpanm --- appveyor.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f79ee83b08..75082c4828 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,21 +15,23 @@ notifications: skip_tags: true shallow_clone: true -cache: - - C:\strawberry +platform: + - x86 + - x64 +# As of 2017/11, lastest strawberryperl based on perl 5.26 is failing on Win32::Daemon install: - - if not exist "C:\strawberry" cinst strawberryperl + - cinst strawberryperl --version 5.24.2.1 - set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH% - cd C:\projects\%APPVEYOR_PROJECT_NAME% - echo %cd% - - cpan Module::Install - - cpanm -f --verbose --notest --installdeps . - - cpanm -f --verbose --notest Compress::Zlib IO::Socket::SSL LWP::Protocol::https - - cpanm -f --verbose --notest Win32::Daemon Win32::Unicode::File - - cpanm -f --verbose --notest Parse::EDID DateTime - - cpanm -f --verbose --notest Archive::Extract Digest::SHA File::Copy::Recursive - - cpanm -f --verbose --notest JSON::PP URI::Escape Net::Ping Parallel::ForkManager + - cpan -T Module::Install + - cpanm --notest --installdeps . + - cpanm --notest Compress::Zlib IO::Socket::SSL LWP::Protocol::https + - cpanm --notest Win32::Daemon Win32::Unicode::File + - cpanm --notest Parse::EDID DateTime + - cpanm --notest Archive::Extract Digest::SHA File::Copy::Recursive + - cpanm --notest JSON::PP URI::Escape Net::Ping Parallel::ForkManager build_script: - perl Makefile.PL