forked from voxpupuli/puppet-augeasproviders_puppet
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
36 lines (33 loc) · 938 Bytes
/
.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
language: ruby
sudo: required
rvm:
- 2.4.4
notifications:
email:
- raphael.pinson@camptocamp.com
env:
# base env
# Test latest Puppet 5 version
- PUPPET=5.5 RUBY_AUGEAS=0.5 FORGE_PUBLISH=true
# Test latest Puppet version
- PUPPET=6 RUBY_AUGEAS=0.5
matrix:
fast_finish: true
install:
- "travis_retry ./.travis.sh"
script:
- AUGEAS_LENS_LIB=lib/augeas/lenses:augeas/lenses bundle exec rake
# Do not include the augeas/ directory in the deployed module
- rm -rf augeas/
deploy:
provider: puppetforge
user: herculesteam
password:
secure: "YVzquxfEQFySEKM63ipGUkaTZM+ue0LsDHsvUm66uYSsUpjeJEAuFWqRRljhAleJLWUqbXUvXJYr/kilOvDJvsHZXZb9MPA9/gfw08qWYcOgBVWrYTm/KF8N43mZuxbIzw1ZtNyoxuyNrLaqMfnps29e6G+zZIoOluFREsOqtMM="
on:
tags: true
# all_branches is required to use tags
all_branches: true
# Only publish if our main Ruby target builds
rvm: 2.4.4
condition: "$FORGE_PUBLISH = true"