-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathappveyor.yml
More file actions
35 lines (30 loc) · 935 Bytes
/
appveyor.yml
File metadata and controls
35 lines (30 loc) · 935 Bytes
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
os: Windows Server 2012 R2
platform:
- x64
environment:
winrm_user: test_user
winrm_pass: Pass@word1
winrm_port: 5985
KITCHEN_YAML: c:\GitHub\chef-appveyor-ci\.kitchen.appveyor.yml
SSL_CERT_FILE: c:\GitHub\chef-appveyor-ci\certs.pem
appveyor_access_key: thisisnotakey
user_password: Pass@word1
matrix:
- ruby_version: "23"
clone_folder: c:\GitHub\chef-appveyor-ci
clone_depth: 1
install:
- ps: net user /add $env:winrm_user $env:winrm_pass
- ps: net localgroup administrators $env:winrm_user /add
- ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH"
- ps: Write-Host $env:PATH
- ps: gem install bundler --quiet -N
- ps: Invoke-WebRequest -Uri http://curl.haxx.se/ca/cacert.pem -OutFile c:\GitHub\chef-appveyor-ci\certs.pem
- ps: ruby --version
- ps: gem --version
- ps: bundler --version
build_script:
- bundle install
test_script:
- chef exec delivery local all
- kitchen verify