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