forked from voxpupuli/puppet-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (71 loc) · 2.53 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
---
language: ruby
bundler_args: --without system_tests
script: 'SPEC_OPTS="--format documentation" bundle exec rake validate lint spec'
before_install:
- gem install bundler # -v x.x.x if a specific version is needed
matrix:
fast_finish: true
include:
- sudo: required
dist: trusty
rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes" ORDERING="random"
- sudo: required
dist: trusty
rvm: 2.2.2
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random"
- sudo: required
dist: trusty
rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" ORDERING="random"
- sudo: required
services: docker
rvm: '2.3.3'
env: PUPPET_INSTALL_VERSION="1.10.8" PUPPET_INSTALL_TYPE=agent BEAKER_set="centos-6-docker"
script: bundle exec rake beaker:suites['default',$BEAKER_set]
bundler_args: --without development
- sudo: required
services: docker
rvm: '2.3.3'
env: PUPPET_INSTALL_VERSION="1.10.8" PUPPET_INSTALL_TYPE=agent BEAKER_set="centos-7-docker"
script: bundle exec rake beaker:suites['default',$BEAKER_set]
bundler_args: --without development
- sudo: required
services: docker
rvm: '2.3.3'
env: PUPPET_INSTALL_VERSION="1.10.8" PUPPET_INSTALL_TYPE=agent BEAKER_set="debian-8-docker"
script: bundle exec rake beaker:suites['default',$BEAKER_set]
bundler_args: --without development
- sudo: required
services: docker
rvm: '2.3.3'
env: PUPPET_INSTALL_VERSION="1.10.8" PUPPET_INSTALL_TYPE=agent BEAKER_set="ubuntu-1604-docker"
script: bundle exec rake beaker:suites['default',$BEAKER_set]
bundler_args: --without development
- sudo: required
services: docker
rvm: '2.3.3'
env: PUPPET_INSTALL_VERSION="1.5.2" PUPPET_INSTALL_TYPE=agent BEAKER_set="ubuntu-1404-docker"
script: bundle exec rake beaker:suites['default',$BEAKER_set]
bundler_args: --without development
- sudo: required
rvm: '2.4.0'
env: PUPPET_VERSION="~> 4.0" CHECK=build DEPLOY_TO_FORGE=yes
script: bundle exec rake build
bundler_args: --without development
branches:
only:
- master
- /^v\d/
deploy:
provider: puppetforge
user: arioch
password:
secure: "TQDjFEXa95hJ4kCP8bskFyA/vAXKhxc8Rg+qP8611XqfqMPU0XAEE456VnVJ3dAwDrDF080iE0M2aFdAZBW+EzsVmDSGMrpQyJgoxSKKd+d2ybRaNsvXDNJf52966sx+mZ1+cCes+AsP4/wsFQszNsuaf9qjazkQy+I95Tuukvk="
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"