-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
52 lines (52 loc) · 1.68 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
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
rvm:
- 2.4.4
env:
global:
- BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_GEM_VERSION="~> 5.0"
matrix:
fast_finish: true
include:
- rvm: 2.4.4
env: PUPPET_VERSION="~> 5.0" CHECK=test
stage: test
- rvm: 2.4.4
bundler_args: ''
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply
stage: acceptance
- rvm: 2.4.4
env: PUPPET_VERSION="~> 5.0" DEPLOY_TO_FORGE=yes
stage: deploy
branches:
only:
- master
- "/^v\\d/"
notifications:
email:
deploy:
provider: puppetforge
user: thbe
password:
secure: bh0aMz3zu4GlpjQxDOR7kpOYoKKRFDgLHsJUFTiKmr+eRwENALGvTeciyu86D27P04vIbrutW9dQJmvfVBKXvl9xlrwhEzQ78jVwBtW9RbDPul5s54Z41mH+jeDPrVmh1WgMSKrHlfXHxOoyA6jwsET5NYV1dRTckPrVajXt7ArTVeZvMbd1hopptZRSWpfc2wNtLx9fZyhIF9NvIYgSrpmAX3aIgQBMqkkuE8n8luqRphuyYjXaSkYo+WjAffpLu+7qKBaNCSd3s0dzvGDQSycqSI3qwtIu+xao/lZSQ5Zic7vmHFNWXOBL7PxK4wtZEdx+ra8XIZYZ8ZAqME5Q4eKaxmRjKhwr5mfZ8GxzOqWbb9POt2VdzOel7UpBxBlqg74LmXlQIcj5rH3cggfVcQkHKu0GIXIe52BSMt5buwdygSI2SKQmo+78+80D+/W7lTIZQqh/wxinM952mDTl41SkhboHPttBH8bkP81FYcmvWaqmetrPibBfd/yM27obAMzUX/vg8dSctGHmvjlXPyMu6FjMwvkS6WLIAqWv3emiFls8I8/iexj2axIVdifSATVV27EldSPyGTUmnaFEAQB2LGrVdwoLiM63tU8n83rk/SglZjHyy/aBT4nvPEi8J+irNt7CHlqEbD5dUhGEYFPfAz2Uee0TrG+hcy8moqs=
on:
tags: true
all_branches: true
condition: "$DEPLOY_TO_FORGE = yes"