inspec/appveyor.yml
Adam Leff 935c56394f Remove bundler install during Appveyor tests (#2322)
It appears that the Appveyor images changed recently and the Ruby
installs for all version (2.2, 2.3, and 2.4) already include Bundler
installed. Attempting to install it will hang the tests at an
interactive prompt asking if you want to override the install, and
--force'ing the install causes path issues and Rubygems won't be able
to activate the gem.

Removing the bundler install appears to solve the problem nicely.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-20 19:11:43 +01:00

35 lines
638 B
YAML

os: Windows Server 2012 R2
platform:
- x64
environment:
matrix:
- ruby_version: "23"
- ruby_version: "24"
clone_folder: c:\projects\inspec
clone_depth: 1
skip_tags: true
branches:
only:
- master
cache:
- vendor/bundle -> appveyor.yml
install:
- systeminfo
- winrm quickconfig -q
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- echo %PATH%
- ruby --version
- gem --version
- bundler --version
- ruby -r rubygems -e "p Gem.path"
build_script:
- bundle install --path=vendor/bundle --without integration tools maintenance deploy
test_script:
- SET SPEC_OPTS=--format progress
- bundle exec rake