forked from jsok/puppet-vault
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (48 loc) · 1.98 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
---
sudo: false
language: ruby
bundler_args: --without development system_tests
before_install: rm -f Gemfile.lock
script: bundle exec rake test
matrix:
include:
# RSpec tests
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4"
- rvm: 2.4.4
env: PUPPET_GEM_VERSION="~> 4" FUTURE=yes
- rvm: 2.5.1
env: PUPPET_GEM_VERSION="~> 5" DEPLOY_CANDIDATE=yes
# Beaker tests
- sudo: required
services: docker
rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent BEAKER_set="centos-6-x86_64-docker"
script: bundle exec rake acceptance
bundler_args: --without development
- sudo: required
services: docker
rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent BEAKER_set="centos-7-x86_64-docker"
script: bundle exec rake acceptance
bundler_args: --without development
- sudo: required
services: docker
rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent BEAKER_set="ubuntu-14.04-x86_64-docker"
script: bundle exec rake acceptance
bundler_args: --without development
- sudo: required
services: docker
rvm: 2.4.2
env: PUPPET_INSTALL_TYPE=agent BEAKER_set="ubuntu-16.04-x86_64-docker"
script: bundle exec rake acceptance
bundler_args: --without development
deploy:
provider: puppetforge
user: jsok
password:
secure: Fpvb/pZBy+FBpcXkQua6eEWN/4/klJjgFvBzDocrEa8ud5MGs8YuERKENoZ16bFzCtnyytRGZbiXJtqo4+IkxY0EFuCWgw1BH0ekljXWsuTi0ZCrYgedjy0Tykj6cgPkLecBzqtPe5b1gXwmIamlYQkVdnyglZEkSKvo9GqYX/VYSs7cc5mJ5bP5zgAr7U1jBQCKxD95kSt28NwIliekX1KoUqEVhxsHW5fzQa+4eS8vz7HUBppkJoUpHJfjXuoZKWXR4lQka4VgIZXflHno6OH908B0JiFoZI6klOInrn6eZbpF10CmjbK7ZCMIKdiPiVqzDQJgsSqg2n+9fA6TGbEj5A3K8VZtqp7MGd3b5HBfeVNPTPEAFGi4SkWPGwb2l53fUxP7T/NQUQ130GGNKdJdFmVW6Y6i2q9zrWWYZB1zbHRac/lY3uDd6qRxmbDYJzzTqMUPpl5eyBtRbg0XWuxTR1R9yhSwNw+N1sz1CaqT27MvgHqNRrISPSAXRfA+KP5mV8n+gInZVKiXf1BkNtPZJ+t2WO7jhKkC05WRGy0HAi2jaZiSL39bBMQOuoTCGlgo3h146PE27dJ2E4Yd3OBPn3vV/FrU8zuRFt77kOlffCq7yL7zv4OORfIgUql2RvEJ0aLA3jIxrKve8uQZFQ6Y7NjuFMQnKpG+lntW5xw=
on:
tags: true
condition: "$DEPLOY_CANDIDATE = yes"