-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
53 lines (53 loc) · 2.61 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
48
49
50
51
52
53
---
os: linux
dist: xenial
language: ruby
cache: bundler
before_install:
- bundle -v
- rm -f Gemfile.lock
- "# Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"
- "# See https://github.com/puppetlabs/pdk-templates/commit/705154d5c437796b821691b707156e1b056d244f for an example of how this was used"
- "# Ignore exit code of SIGPIPE'd yes to not fail with shell's pipefail set"
- '[ -z "$RUBYGEMS_VERSION" ] || (yes || true) | gem update --system $RUBYGEMS_VERSION'
- gem --version
- bundle -v
script:
- 'bundle exec rake $CHECK'
bundler_args: --without system_tests
rvm:
- 2.5.7
stages:
- static
- spec
- acceptance
-
if: tag =~ ^v\d
name: deploy
jobs:
fast_finish: true
include:
-
env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint"
stage: static
-
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
rvm: 2.4.5
stage: spec
-
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
rvm: 2.5.7
stage: spec
-
env: DEPLOY_TO_FORGE=yes
stage: deploy
branches:
only:
- master
- /^v\d/
- develop
notifications:
slack:
rooms:
- secure: MQNT1pk+foO5sk6nWD7ZmCNqKrfNT7If4XfNv0rLuKYqddtSRiuvwsg+s6WEeoOQYeAz89MVSpMIZonQiBc5Mzb5l+MABkThbRsgtgsREfWf3RMc2XGhjbvaWGEtxQ7OJG0FieUBo5r0OOG1Nz5T3bWIhm2OOxy+rq9jjC7dfJIvvwfjg/J6VdkBsENF5BazUWUStp923Oknp/6DXrn6q8BOMxFXCILm+d36l9reDvRdEMzjC2AObMMAefgErch7AWCkZR/PHbevkPOVjU4YU4X3gHRk56yCV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