forked from joshuaspence/puppet-phabricator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (55 loc) · 1.37 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
50
51
52
53
54
55
56
57
58
59
60
61
---
bundler_args: '--without system_tests'
cache: 'bundler'
language: 'ruby'
script: 'bundle exec rake spec'
env:
- PUPPET_GEM_VERSION='~> 4.7.0'
- PUPPET_GEM_VERSION='~> 4.8.0'
- PUPPET_GEM_VERSION='~> 4.9.0'
- PUPPET_GEM_VERSION='~> 4.10.0'
- PUPPET_GEM_VERSION='~> 5.0.0'
rvm:
- 2.1
- 2.2
- 2.3.4
- 2.4.1
matrix:
fast_finish: true
exclude:
- env: PUPPET_GEM_VERSION='~> 4.7.0'
rvm: 2.4.1
include:
- env: ''
rvm: 2.4.1
script: 'bundle exec rake'
- env: 'DEPLOY=yes'
rvm: 2.4.1
script:
- 'bundle exec rake build'
- 'bundle exec rake strings:generate'
# Beaker
- bundler_args: '--with system_tests'
env: 'PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-1604'
rvm: 2.4.1
script: 'bundle exec rake beaker'
services: 'docker'
- bundler_args: '--with system_tests'
env: 'ORDERING=random PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-1604'
rvm: 2.4.1
script: 'bundle exec rake beaker'
services: 'docker'
deploy:
- provider: 'puppetforge'
user: 'joshuaspence'
password: '$PUPPET_FORGE_PASSWORD'
on:
condition: '$DEPLOY = yes'
tags: true
- provider: 'pages'
github_token: '$GITHUB_TOKEN'
local_dir: 'doc'
skip_cleanup: true
on:
condition: '$DEPLOY = yes'
tags: true