forked from voxpupuli/puppet-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.01 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
sudo: false
language: ruby
rvm:
- 2.1.6
- 2.0.0
- 1.9.3
env:
matrix:
- PUPPET_VERSION=4.3.1
- PUPPET_VERSION=3.8.4
- PUPPET_VERSION=3.8.4 FUTURE_PARSER=yes TRUSTED_NODE_DATA=yes
global:
- secure: Zc0V6JqwpFTTtVE7jVFg5R6UgXZrzsBGa6ckbOnIHPCOyJsV4oWO6RxKsYI+ozzD9nrEdrT/DTcHKRz84YqrMXxvBU9HA4S/ZrNQoRiH3bEnI3UHC6jQJRX0c71gaJEMQ3S33my39vLD7EsealX3p+j8asL8e8glYR1am9ekUB8=
matrix:
exclude:
- rvm: 2.1.6
env: PUPPET_VERSION=3.8.4
include:
- rvm: 2.1.6
env: PUPPET_VERSION=3.8.4 DOCS=true
- rvm: 2.2.3
env: PUPPET_VERSION=4.3.1
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ -n "$DOCS" ] &&
puppet module install puppetlabs/strings &&
puppet strings &&
pip install --user ghp-import &&
echo php.puppet.mayflower.de > doc/CNAME &&
~/.local/bin/ghp-import -n doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
notifications:
webhooks:
urls:
- http://travis-notify.mayflower.de/opensource
on_start: true