Skip to content

Commit

Permalink
Appveyor tests fix:
Browse files Browse the repository at this point in the history
 * 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
  • Loading branch information
g-bougard committed Nov 24, 2017
1 parent 067de28 commit 47db1eb
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47db1eb

Please sign in to comment.