forked from inspec/inspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (33 loc) · 849 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
os: Windows Server 2012 R2
platform:
- x64
environment:
bundler_url: https://rubygems.org/downloads/bundler-1.9.9.gem
matrix:
- ruby_version: "21"
- ruby_version: "22"
- ruby_version: "23"
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
- appveyor DownloadFile -Url %bundler_url% -FileName bundler.gem
- gem install --local bundler --quiet --no-document
- 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