blob: 268210d38a6c4d209cec011da5e005b48aa1d987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
image: ruby:2.3
# Test job template
.test_template: &test_definition
stage: test
script:
- bundle install --jobs $(nproc) --without docs --path vendor
- bundle exec rake tests
- bundle exec rake spec
# Test with version present on Debian stable
test:puppet48:
variables:
PUPPET_VERSION: "~> 4.8.2"
FACTER_VERSION: '~> 2.4.6'
HIERA_VERSION: '~> 3.2.0'
<<: *test_definition
# Test with latest Puppet release
test:puppetlatest:
<<: *test_definition
|