forked from yano3/puppet-cerebro
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis-switch-to-github-actions.yml
43 lines (43 loc) · 1.71 KB
/
.travis-switch-to-github-actions.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
---
os: linux
dist: focal
language: ruby
cache: bundler
before_install:
- yes | gem update --system
- bundle --version
script:
- 'bundle exec rake $CHECK'
jobs:
fast_finish: true
include:
- rvm: 2.4.4
bundler_args: --without system_tests development release
env: PUPPET_VERSION="~> 5.0" CHECK=test
- rvm: 2.5.3
bundler_args: --without system_tests development release
env: PUPPET_VERSION="~> 6.0" CHECK=test_with_coveralls
- rvm: 2.5.3
bundler_args: --without system_tests development release
env: PUPPET_VERSION="~> 6.0" CHECK=rubocop
- rvm: 2.4.4
bundler_args: --without system_tests development release
env: PUPPET_VERSION="~> 5.0" CHECK=build DEPLOY_TO_FORGE=yes
branches:
only:
- master
- /^v\d/
notifications:
email: false
webhooks: []
deploy:
provider: puppetforge
username: encore
password:
secure: "PYyIxZbQSE/BfBa9kBlQ5zN/K3e7A8eTCsur+rpdDXMtlzohYDlr5VSFviOvx4LguRCsDneoP5G6Ie/HP/CoyzJjt0CQwBgREx5aG5bjt310sab8Fufl3RW3rgDCoBu2f9RcO7/yR02s34wTvaS83VKxsoHqVevISNYe0teWCb72Avc8TVg8oVdjvenlki9TItS2aNq4YrIbj741DQu5GCH5uTIlDJMJcaq5agjdJYRj0OQy7ztdLMzHjvZAyVK5zTFt2sftDaOVKClXCqananTM3TObe6+rg23FSk1nsSriDwfk9TFMVlxy9NUuggzYCMmZLXXu+w/hgcCZODw6XlDKshfuPc2XWp2/ub4dptnCv1qUZzZQ6yuDBy7FH6A2uqTjvwO4wwWroozAF8qNTJ342ge4Xae/dqbJ4/tBFa/fBwlpzHPKzqT6fXhl2yVN7+hqXoTApmqpG6fpTc5Rag+0R7xm5m/aUY1kzT5ZjIMOUeKd4WMNs9TSWDly3rpUkLp9K2IhmAnPceJD619wSaACkt33e1Vue9RrklwzhBvRErNTtLCneo+d31B5MyK0MDfi/b3j19vLFbntX6Qsb/Nt767HZF4CfIAgXEZTmbhIwGxA67S9h9XVA8G8LtXaW0d7dBPQOAUwZgvzrMhXmCBhe8JY/CeVaWS4uUyoknE="
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"