-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (37 loc) · 1.16 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
---
sudo: true
language: ruby
before_script:
- bundle install
- bundle exec puppet --version
- bundle exec puppet module build
- bundle exec puppet module install pkg/*.tar.gz
- sudo sed -i 's/main$/& contrib non-free/' /etc/apt/sources.list
- sudo apt update
- sudo apt install conserver-server conserver-client -y
- conserver -v
- mkdir -p /tmp/conserver
script:
- bundle exec rake validate
- bundle exec rake syntax lint
- bundle exec rake metadata_lint
- bundle exec rake spec
- 'sudo -E env PATH=$PATH bundle exec puppet module install pkg/*.tar.gz'
- 'sudo -E env PATH=$PATH bundle exec puppet --version'
- 'sudo -E env PATH=$PATH bundle exec ./smoke/test -d'
rvm:
- 2.1.9
- 2.3.4
- 2.4.1
env:
matrix:
- PUPPET_GEM_VERSION="~> 4.9.1" FIXTURES_YML=.fixtures.yml
- PUPPET_GEM_VERSION="~> 4.10.10" FIXTURES_YML=.fixtures.yml
- PUPPET_GEM_VERSION="~> 5.0.0" FIXTURES_YML=.fixtures.yml
- PUPPET_GEM_VERSION="~> 5.4.0" FIXTURES_YML=.fixtures.yml
- PUPPET_GEM_VERSION="~> 5.5.0" FIXTURES_YML=.fixtures.yml
matrix:
fast_finish: true
exclude:
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 5.5.0" FIXTURES_YML=.fixtures.yml