-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
68 lines (57 loc) · 2.1 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
language: ruby
dist: xenial
services: docker
cache: bundler
notifications:
email: [email protected]
before_install:
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle --version
branches:
only:
- master
- release
stages:
- name: build
- name: test
if: branch = master
script:
- bundle install && bundle update
jobs:
include:
- stage: build
env: PUPPET_VERSION="~> 6.0" DEPLOY_TO_FORGE=yes
install: bundler install && bundler update
script: bundle exec rake test
after_success: skip
- stage: test
env: BEAKER_set=debian9-64 BEAKER_debug=1
install: bundler install && bundler update
script: bundle exec rake beaker
after_success: skip
- stage: test
env: BEAKER_set=ubuntu1804-64 BEAKER_debug=1
install: bundler install && bundler update
script: bundle exec rake beaker
after_success: skip
- stage: test
env: BEAKER_set=centos7-64 BEAKER_debug=1
install: bundler install && bundler update
script: bundle exec rake beaker
after_success: skip
# - stage: test
# env: BEAKER_set=redhat8-64 BEAKER_debug=1
# install: bundler install && bundler update
# script: bundle exec rake beaker
# after_success: skip
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:
branch: release
condition: "$DEPLOY_TO_FORGE = yes"