forked from berkshelf/berkshelf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (25 loc) · 826 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
version: "master-{build}"
os: Windows Server 2012 R2
platform:
- x64
clone_depth: 1
skip_tags: true
skip_branch_with_pr: true
branches:
only:
- master
# caching vendor/bundle appears to break horribly in the face of gems checked out of git
# cache:
# - vendor/bundle
install:
- ps: iex (irm https://omnitruck.chef.io/install.ps1); Install-Project -Project chefdk -channel stable
- bundle config --local path vendor/bundle
- SET CI=true
- SET BUNDLE_WITHOUT=changelog:style
build_script:
- ps: c:\opscode\chefdk\bin\chef.bat shell-init powershell | iex
- bundle install || bundle install || bundle install
test_script:
- SET SPEC_OPTS=--format progress
- c:\opscode\chefdk\bin\chef.bat exec bundle exec rake spec
- c:\opscode\chefdk\bin\chef.bat exec bundle exec cucumber --tags ~@not-windows