forked from voxpupuli/puppet-icingaweb2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 918 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
sudo: false
language: ruby
cache: bundler
bundler_args: "--without system_tests"
before_install:
- sh ./.travis/setup.sh
script:
- bundle exec rake $CHECK
matrix:
fast_finish: true
include:
- rvm: '2.4'
env: PUPPET_VERSION="~> 5.0" CHECK=build DEPLOY_TO_FORGE=yes
- rvm: '2.1'
env: PUPPET_VERSION="~> 4.0" CHECK=test FIXTURES_YML=.fixtures.puppet4.yml
- rvm: '2.4'
env: PUPPET_VERSION="~> 5.0" CHECK=test
- rvm: '2.5'
env: PUPPET_VERSION="~> 6.0" CHECK=test
branches:
only:
- master
- "/^v\\d/"
notifications:
email: false
deploy:
provider: puppetforge
deploy:
branch: master
user: icinga
password:
secure: "hcGcjXH8v7mjP8bAVeJY/aUzciEjzzjhBsB3b8SKFytpH6R5kcNLVXzkAtTXgJi8nR4PVFSjKovku3o0Q7BzWnmsGaQ69UzJ5gz37oO2mxfNvVCm7FyiCCW86gp+IvpsMDRa+gqpswvb0CjzwK5SC+R7/+pzt60aPx2Gk/yteuU="
on:
tags: true
all_branches: true
condition: "$DEPLOY_TO_FORGE = yes"