This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.65 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
sudo: false
language: ruby
bundler_args: --without system_tests development
before_install:
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle -v
script:
- 'bundle exec rake $CHECK'
matrix:
fast_finish: true
include:
- rvm: 2.1.9
env: PUPPET_VERSION="~> 4.0" CHECK=test
- rvm: 2.2.6
env: PUPPET_VERSION="~> 4.0" CHECK=test
- rvm: 2.3.3
env: PUPPET_VERSION="~> 4.0" CHECK=test
- rvm: 2.4.0
env: PUPPET_VERSION="~> 4.0" CHECK=test DEPLOY_TO_FORGE=yes
- rvm: 2.4.0
env: PUPPET_VERSION="~> 4.0" CHECK=rubocop
notifications:
email: false
deploy:
provider: puppetforge
user: alfasystems
password:
secure: gs7gNWU+xgJ488A5ixWeTnLNSr3Efsu/qFEhgpPu78/7IbBN3j2HqcU7yXAxaUrDem6VDvBMLCaW0pFC/hfgiGqkYqe1xsMbP0wqGAwX0Tqk683rdc7Lf4MyUFjSOnpzs9cNC+7wD+uv1XOf//XVC4SE5yngPUSizRkYooT1fp7aS6raoSTbAXrMy7K6sAuGukUhPGQhOEHhgHUpkC51pRNJ1/bNhTmnoeZB6LIFAWgSNq+vDZmKsb1kycXPzdOIDoZeDTGFwEYugO6Ie4+9AUAcXbSh1KnwCvAtoqU674e+MfSprDWOePG0Epw7sVfqpRpmns631dcWXBAKvTSXJByK7xKK4GCP8JUT6+UvXb84F3qRux/TG1pkTrQEn6Wx5d1JQ1wbtMyX/kFQrTEEmQzeZSKWIe/6MF9hgSwpZYdywPE7HLg3uqoxlbXb97R8WIZ+6KT0+u7Onfgrox9qGGo3tFPxr81RbARx7tjRMe++WWiVz9bsOBuJD3kSD/9VwaKs/SkvPBGTKQth4f3+NMRowRunRKtvxRDx0BPooqmicdZt0FhQY7za7s96rlod/PdOfg4e9baLHqf7SlIsOnkOrJyRLkc1WAsnyjSajOOnuTcSZgIvCe+c5eupB4BP4FSzD6ZEihTmKKCZ6723aLg5iSs/2acU1TY5P2aFwhI=
on:
tags: true
# all_branches is required to use tags
all_branches: true
# Only publish the build marked with "DEPLOY_TO_FORGE" and "DEPLOY_ALLOWED" via Travis settings
condition:
- "$DEPLOY_ALLOWED = yes"
- "$DEPLOY_TO_FORGE = yes"