-
Notifications
You must be signed in to change notification settings - Fork 136
/
appveyor.yml
47 lines (47 loc) · 1.32 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
44
45
46
47
version: 1.0.x.{build}
skip_commits:
message: /(^\(?doc\)?.*|.*[A|a]cceptance [T|t]est.*)/
clone_depth: 5
init:
- git config --global user.email "[email protected]"
- git config --global user.name "Chocolatey yo"
- SET
- 'mkdir C:\ProgramData\PuppetLabs\code && exit 0'
- 'mkdir C:\ProgramData\PuppetLabs\facter && exit 0'
- 'mkdir C:\ProgramData\PuppetLabs\hiera && exit 0'
- 'mkdir C:\ProgramData\PuppetLabs\puppet\var && exit 0'
environment:
matrix:
- PUPPET_GEM_VERSION: ~> 3.0
RUBY_VER: 193
- PUPPET_GEM_VERSION: ~> 3.0
RUBY_VER: 200-x64
- PUPPET_GEM_VERSION: ~> 4.0
RUBY_VER: 21
- PUPPET_GEM_VERSION: ~> 4.0
RUBY_VER: 21-x64
- PUPPET_GEM_VERSION: 3.0.0
RUBY_VER: 193
matrix:
fast_finish: true
install:
- SET PATH=C:\Ruby%RUBY_VER%\bin;%PATH%
- gem install bundler --quiet --no-ri --no-rdoc
- bundle install --jobs 4 --retry 2 --without system_tests
- type Gemfile.lock
build: off
nuget:
disable_publish_on_pr: true
test_script:
- bundle exec puppet -V
- ruby -v
- bundle exec rspec spec/unit -fd -b
deploy: off
notifications:
- provider: Email
to:
subject: AppVeyor - Chocolatey Puppet Provider Build Notification
on_build_success: false
on_build_failure: true
on_build_status_changed: true