This repository has been archived by the owner on Feb 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
41 lines (40 loc) · 1.85 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
---
sudo: false
dist: trusty
language: ruby
#cache: bundler
bundler_args: --without system_tests development
before_install:
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle -v
script:
- 'bundle exec rake $CHECK'
env: ["CHECK=rubocop", "PUPPET_VERSION=\"~> 4.6.0\" STRICT_VARIABLES=yes CHECK=test", "PUPPET_VERSION=\"~> 4.7.0\" STRICT_VARIABLES=yes CHECK=test", "PUPPET_VERSION=\"~> 4.8.0\" STRICT_VARIABLES=yes CHECK=test", "PUPPET_VERSION=\"~> 4.9.0\" STRICT_VARIABLES=yes CHECK=test", "PUPPET_VERSION=\"~> 4.10.0\" STRICT_VARIABLES=yes CHECK=test", "PUPPET_VERSION=\"~> 5.0.0\" STRICT_VARIABLES=yes CHECK=test"]
rvm: [2.2, 2.3, 2.4]
matrix:
fast_finish: true
exclude:
- rvm: 2.2
env: CHECK=rubocop
include:
- rvm: 2.4.0
env: PUPPET_VERSION="~> 4.0" CHECK=build DEPLOY_TO_FORGE=yes
notifications:
email: false
deploy:
provider: puppetforge
deploy:
branch: ha-bug-puppet-forge
user: icann
password:
secure: "JR8zqievv3kGP9nA5yvNAdHtx0o2xGYVmG9QWYAE+Z3zuxGLe/75Bo9LpDpC3YQ0lZNzXPb90a+hsXImKbzwl/BJhanPjfIS3rkuqdDDObVez3fnt0Q9UtS+3Q3EeXj+ZVhcunDgERYS+tuQTVX4LCJ/8JiLBH+P05bIbLhhCSIuls4/TGRz2WW3Or/c+odGMLF7VWMRHxM6r5D2zYPcmp0tCSb0OEVZX5y/SqzCmR24+YVf99MBsohNukssNSEaJTthbZuwFsH9XMUleNSlcuvwfEviCy+4cMiA33xOOPnhff8NL24SbbM1tSzws3Zb4iNFA/HiqhA+T8g++1jRsg5bkQatV/87mS5wzsubGrtgT6ME7vLr72JVmLSIFnklaJCM90Eq1OFJJZBgRGF5ONRt7j34am4TtUuPBwic1IxT68K7Go8gQHg43ik0xd0/BOUKAh/7WBAk1hgMvi25JiozbMIj/X7wmTFrCnEs9d3/Wrc7yWBF1M8d7r5H9EvNJSCi2qekMzs/U0pXAFc/JosrMHuE3+pPbjjj88nnV3k1B7Htv7//DWiRD7yg9s4Sex0ABchK+VL0tej7Ij3xxe2rMjvgTjyINFfST+VmWDVp2pFPRh0/TMhJSd7Nc73vUWSt9ZRSZ/5PAWbb7c2trg3gK8Pm2UhjcBPJZLNiNcg="
on:
tags: true
# all_branches is required to use tags
all_branches: true
# Only publish the build marked with "DEPLOY_TO_FORGE"
condition: "$DEPLOY_TO_FORGE = yes"