-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (44 loc) · 1.29 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
---
language: ruby
sudo: required
services:
- docker
script:
- bundle exec rspec spec/acceptance
matrix:
include:
- rvm: default
env: LINT=puppetcode
dist: trusty
bundler_args:
script: bundle exec rake lint
- rvm: default
env: LINT=metadata
dist: trusty
bundler_args:
script: bundle exec rake metadata_lint
- rvm: default
env: JOB=validate
dist: trusty
bundler_args:
script: bundle exec rake validate
- rvm: default
env: BEAKER_set="centos6-docker" PG_VERSION="pg9"
dist: trusty
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/pg9*_spec.rb
- rvm: default
env: BEAKER_set="centos6-docker" PG_VERSION="pg10"
dist: trusty
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/pg10*_spec.rb
- rvm: default
env: BEAKER_set="centos6-docker" PG_VERSION="pg11"
dist: trusty
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/pg11*_spec.rb
- rvm: default
env: BEAKER_set="centos7-docker" PG_VERSION="ALL"
dist: trusty
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/pg9*_spec.rb spec/acceptance/pg1*_spec.rb