inspec/appveyor.yml

41 lines
850 B
YAML
Raw Normal View History

2016-01-14 23:22:48 -05:00
os: Windows Server 2012 R2
platform:
- x64
environment:
2016-04-29 19:14:37 -04:00
bundler_url: https://rubygems.org/downloads/bundler-1.9.9.gem
2016-01-14 23:22:48 -05:00
matrix:
2016-04-29 19:14:37 -04:00
- ruby_version: "193"
- ruby_version: "22"
- ruby_version: "23"
2016-01-14 23:22:48 -05:00
clone_folder: c:\projects\inspec
clone_depth: 1
skip_tags: true
branches:
only:
- master
2016-04-29 19:14:37 -04:00
cache:
- vendor/bundle -> appveyor.yml
2016-01-14 23:22:48 -05:00
install:
- systeminfo
- winrm quickconfig -q
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- echo %PATH%
- ruby --version
- gem --version
2016-04-29 19:14:37 -04:00
- appveyor DownloadFile -Url %bundler_url% -FileName bundler.gem
- gem install --local bundler --quiet --no-document
2016-01-14 23:22:48 -05:00
- bundler --version
2016-02-22 14:23:23 +01:00
- ruby -r rubygems -e "p Gem.path"
2016-01-14 23:22:48 -05:00
build_script:
2016-09-27 14:00:01 -04:00
- bundle install --path=vendor/bundle --without integration tools maintenance deploy
2016-01-14 23:22:48 -05:00
test_script:
- SET SPEC_OPTS=--format progress
- bundle exec rake