summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml22
1 files changed, 17 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c87ed7c..7e05880 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -14,16 +14,28 @@ environment:
RUBY_VER: 21
- PUPPET_GEM_VERSION: ~> 4.0
RUBY_VER: 21-x64
- - PUPPET_GEM_VERSION: ~> 4.0
- RUBY_VER: 23
- - PUPPET_GEM_VERSION: ~> 4.0
- RUBY_VER: 23-x64
- - PUPPET_GEM_VERSION: 4.2.3
+ - PUPPET_GEM_VERSION: ~> 5.0
+ RUBY_VER: 24
+ - PUPPET_GEM_VERSION: ~> 5.0
+ RUBY_VER: 24-x64
+ - PUPPET_GEM_VERSION: 4.7.1
RUBY_VER: 21-x64
matrix:
fast_finish: true
install:
- SET PATH=C:\Ruby%RUBY_VER%\bin;%PATH%
+- ps: |
+ # AppVeyor appears to have OpenSSL headers available already
+ # which msys2 would normally install with:
+ # pacman -S mingw-w64-x86_64-openssl --noconfirm
+ #
+ if ( $(ruby --version) -match "^ruby\s+2\.4" ) {
+ Write-Output "Building OpenSSL gem ~> 2.0.4 to fix Ruby 2.4 / AppVeyor issue"
+ gem install openssl --version '~> 2.0.4' --no-ri --no-rdoc
+ }
+
+ gem list openssl
+ ruby -ropenssl -e 'puts \"OpenSSL Version - #{OpenSSL::OPENSSL_VERSION}\"; puts \"OpenSSL Library Version - #{OpenSSL::OPENSSL_LIBRARY_VERSION}\"'
- bundle install --jobs 4 --retry 2 --without system_tests
- type Gemfile.lock
build: off