root / appveyor.yml @ ece9be27
Historique | Voir | Annoter | Télécharger (1,31 ko)
1 |
---
|
---|---|
2 |
version: 1.1.x.{build} |
3 |
branches:
|
4 |
only:
|
5 |
- master
|
6 |
- release
|
7 |
skip_commits:
|
8 |
message: /^\(?doc\)?.*/ |
9 |
clone_depth: 10 |
10 |
init:
|
11 |
- SET
|
12 |
- 'mkdir C:\ProgramData\PuppetLabs\code && exit 0'
|
13 |
- 'mkdir C:\ProgramData\PuppetLabs\facter && exit 0'
|
14 |
- 'mkdir C:\ProgramData\PuppetLabs\hiera && exit 0'
|
15 |
- 'mkdir C:\ProgramData\PuppetLabs\puppet\var && exit 0'
|
16 |
environment:
|
17 |
matrix:
|
18 |
- |
19 |
RUBY_VERSION: 24-x64 |
20 |
CHECK: syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop |
21 |
- |
22 |
PUPPET_GEM_VERSION: ~> 5.0 |
23 |
RUBY_VERSION: 24 |
24 |
CHECK: parallel_spec |
25 |
- |
26 |
PUPPET_GEM_VERSION: ~> 5.0 |
27 |
RUBY_VERSION: 24-x64 |
28 |
CHECK: parallel_spec |
29 |
- |
30 |
PUPPET_GEM_VERSION: ~> 6.0 |
31 |
RUBY_VERSION: 25 |
32 |
CHECK: parallel_spec |
33 |
- |
34 |
PUPPET_GEM_VERSION: ~> 6.0 |
35 |
RUBY_VERSION: 25-x64 |
36 |
CHECK: parallel_spec |
37 |
matrix:
|
38 |
fast_finish: true |
39 |
install:
|
40 |
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
41 |
- bundle install --jobs 4 --retry 2 --without system_tests
|
42 |
- type Gemfile.lock
|
43 |
build: off |
44 |
test_script:
|
45 |
- bundle exec puppet -V
|
46 |
- ruby -v
|
47 |
- gem -v
|
48 |
- bundle -v
|
49 |
- bundle exec rake %CHECK%
|
50 |
notifications:
|
51 |
- provider: Email
|
52 |
to:
|
53 |
- nobody@nowhere.com
|
54 |
on_build_success: false |
55 |
on_build_failure: false |
56 |
on_build_status_changed: false |