-
Notifications
You must be signed in to change notification settings - Fork 26
/
appveyor.yml
43 lines (37 loc) · 1.23 KB
/
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
41
42
43
version: "build-{build}"
os: Windows Server 2012 R2
platform:
- x64
environment:
machine_user: test_user
machine_pass: Pass@word1
machine_port: 5985
KITCHEN_YAML: .kitchen.appveyor.yml
SSL_CERT_FILE: c:\projects\kitchen-machine\certs.pem
matrix:
- ruby_version: "24"
clone_folder: c:\projects\kitchen-machine
clone_depth: 1
branches:
except:
- macosx
install:
- ps: net user /add $env:machine_user $env:machine_pass
- ps: net localgroup administrators $env:machine_user /add
- ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH"
- ps: gem install bundler --quiet --no-ri --no-rdoc
- ps: |-
[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12
- ps: Invoke-WebRequest -Uri http://curl.haxx.se/ca/cacert.pem -OutFile c:\projects\kitchen-machine\certs.pem
build_script:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1'))
# - ps: Set-ScreenResolution 1440 900
- bundle install || bundle install || bundle install
- bundle exec rake
- bundle exec kitchen conv
# - shutdown /a
# - ps: Restart-Computer -Force
# - ps: Start-Sleep -s 10
#
#test_script:
# - bundle exec kitchen veri