-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
55 lines (55 loc) · 1.84 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
sudo: required
dist: trusty
services: docker
language: ruby
cache: bundler
bundler_args: "--without system_tests"
before_install:
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle --version
stages:
- test
- acceptance
- deploy
script:
- bundle exec rake $CHECK
matrix:
fast_finish: true
include:
- rvm: 2.3.1
env: PUPPET_VERSION="~> 4.0" CHECK=test
stage: test
- rvm: default
env: PUPPET_VERSION="~> 5.0" CHECK=test
stage: test
- rvm: default
bundler_args: ''
env: BEAKER_set=debian-7-x64 BEAKER_debug=1 PUPPET_INSTALL_TYPE=agent CHECK=beaker
stage: acceptance
- rvm: default
bundler_args: ''
env: BEAKER_set=debian-8-x64 BEAKER_debug=1 PUPPET_INSTALL_TYPE=agent CHECK=beaker
stage: acceptance
- rvm: default
bundler_args: ''
env: BEAKER_set=centos-7-x64 BEAKER_debug=1 PUPPET_INSTALL_TYPE=agent CHECK=beaker DEPLOY_TO_FORGE=yes
stage: deploy
branches:
only:
- master
- "/^v\\d/"
notifications:
email:
deploy:
provider: puppetforge
user: thbe
password:
secure: V3Po8o+vQ7Ols94PyMvNMs6rIyF5KhP5sBZ2TJZ0dpK6saCdli+tvFjcvcKiz+ckxgeH5TFGfRiQFGNon8KkRLg2kwsc8ev3VZoZUJHHWzIH0uynMRzrRK7heIgTfW77VyCWeofHiumG7PVD88lIGWfEtISuoO92NFO0CVFRYwyr4l+367ORkgrCQtsvSBICyB2ObTovmGLZvHuV+6IdZQE/0zXpWkJGSQowFzKL4BZ+blWyGbTPHOFj0snziGW2pTx7rSg3SPoD4EYG3HwBUhBoEgMhCa+PmWXAfGTO5eH9IDPXS3bnxGRZflg5C1bp3306OirmCeDMzFmCWYbUetxc5W/x5p1Z8n4Us9Aqa4mM7ua0lLi7PrtgIfRp7CPzrM1NY5pchKFEmcbM02QRoe3k3lScyzjU3db4GE2uCKX3A6TvO6lM+2XQ1Zb95kNDW3MWt5ZJDV1xd041DvlFLgoYQpWVBn+ZpqWFHO8/uQEazSMpJbgX83/55ar1fcBOCeshyXzwjJXrXqiDWLJeuckFKf2zWWJjDmJ+pqG/x6xLn3CnPc75H8zgHQjLwiQbrFAqwcX1cetD0AKZsXbfqTv8IqbSELb8aSVCWsXyt12ELcYj2Et6fhIm4YRLt8sJFdCTfKnIut9nZ0qW7FFCs3o/JKH+QjiZptK5bGyPWzM=
on:
tags: true
all_branches: true
condition: "$DEPLOY_TO_FORGE = yes"