forked from puppetlabs/puppetlabs-puppet_agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 1.19 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
---
sudo: false
git:
depth: 150
dist: trusty
language: ruby
cache: bundler
script: bundle exec rake $CHECK
# Note - Bundler args are currently not supported in modsync
bundler_args: --without system_tests
before_install:
# Additional instructions
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem --version
- bundle -v
matrix:
fast_finish: true
include:
- rvm: 2.5.3
env: CHECK="commits"
- rvm: 2.5.3
env: CHECK="validate lint spec"
- rvm: 2.5.3
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=spec
- rvm: 2.5.3
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=spec
- rvm: 2.3.8
env: PUPPET_GEM_VERSION="~> 4.10" CHECK=spec
# These cells test the task on different platforms
- rvm: 2.3.8
dist: trusty
env: GEM_BOLT=true BEAKER_debug=true BEAKER_set=docker/ubuntu-18.04
install: bundle install
script: cd task_spec && bundle exec rake task_acceptance
services: docker
sudo: required
- rvm: 2.3.8
dist: trusty
env: GEM_BOLT=true BEAKER_debug=true BEAKER_set=docker/centos-7
install: bundle install
script: cd task_spec && bundle exec rake task_acceptance
services: docker
sudo: required
notifications:
email: false