-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
93 lines (93 loc) · 2.93 KB
/
.travis.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: ruby
sudo: false
bundler_args: --without system_tests
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.6
- 2.3.3
- 2.5.3
script: "bundle exec rake ${CHECK}"
branches:
only:
- master
- /^v\d/
env:
matrix:
- CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0"
- CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0" FUTURE_PARSER="yes" STRICT_VARIABLES="yes"
- CHECK="ci" PUPPET_GEM_VERSION="~> 4.0"
- CHECK="ci" PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes"
- CHECK="ci" PUPPET_GEM_VERSION="~> 5.0"
matrix:
fast_finish: true
include:
- rvm: default
sudo: required
dist: trusty
services: docker
env: CHECK="beaker" BEAKER_set="centos-7_docker"
bundler_args:
before_script: sudo service docker restart ; sleep 10
- rvm: default
sudo: required
dist: trusty
services: docker
env: CHECK="beaker" BEAKER_set="centos-6_docker"
bundler_args:
before_script: sudo service docker restart ; sleep 10
- rvm: default
sudo: required
dist: trusty
services: docker
env: CHECK="beaker" BEAKER_set="ubuntu-14.04_docker"
bundler_args:
before_script: sudo service docker restart ; sleep 10
- rvm: default
env: CHECK="build" PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" DEPLOY_TO_FORGE=yes
exclude:
- rvm: 1.9.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 4.0"
- rvm: 1.9.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes"
- rvm: 2.0.0
env: CHECK="ci" PUPPET_GEM_VERSION="~> 4.0"
- rvm: 2.0.0
env: CHECK="ci" PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes"
- rvm: 2.2.6
env: CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0"
- rvm: 2.2.6
env: CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0" FUTURE_PARSER="yes" STRICT_VARIABLES="yes"
- rvm: 2.3.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0"
- rvm: 2.3.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0" FUTURE_PARSER="yes" STRICT_VARIABLES="yes"
- rvm: 2.5.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0"
- rvm: 2.5.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 3.8.0" FUTURE_PARSER="yes" STRICT_VARIABLES="yes"
- rvm: 1.9.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 5.0"
- rvm: 2.0.0
env: CHECK="ci" PUPPET_GEM_VERSION="~> 5.0"
- rvm: 2.1.7
env: CHECK="ci" PUPPET_GEM_VERSION="~> 5.0"
- rvm: 2.2.6
env: CHECK="ci" PUPPET_GEM_VERSION="~> 5.0"
- rvm: 2.3.3
env: CHECK="ci" PUPPET_GEM_VERSION="~> 5.0"
notifications:
email: false
gemfile: Gemfile
deploy:
provider: puppetforge
user: palli
password:
secure: "cCrCOQRK2sm1IzsU9yZ3cyLUwcDHWqay7VYh60u8uKi01kmOcxn74GtkaCggzfhVopuIfwWCAl2quVMnHpHYFIkunkYTPwM0pJY/I+jDd0d+hRl4cPM+JjBrlUXQ3RSg6fjxKyY1yVTf0/fCN4PxV3GaWjgqW1C7NTwNVJYwNwE="
on:
tags: true
# Only publish the build marked with "DEPLOY_TO_FORGE"
condition: "$DEPLOY_TO_FORGE = yes"
# Required for tag builds
all_branches: true