]> git.netwichtig.de Git - user/henk/tmp/stringstest.git/blob - .travis.yml
Generate docs
[user/henk/tmp/stringstest.git] / .travis.yml
1 ---
2 os: linux
3 dist: xenial
4 language: ruby
5 cache: bundler
6 before_install:
7   - bundle -v
8   - rm -f Gemfile.lock
9   - "# Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"
10   - "# See https://github.com/puppetlabs/pdk-templates/commit/705154d5c437796b821691b707156e1b056d244f for an example of how this was used"
11   - "# Ignore exit code of SIGPIPE'd yes to not fail with shell's pipefail set"
12   - '[ -z "$RUBYGEMS_VERSION" ] || (yes || true) | gem update --system $RUBYGEMS_VERSION'
13   - gem --version
14   - bundle -v
15 script:
16   - 'bundle exec rake $CHECK'
17 bundler_args: --without system_tests
18 rvm:
19   - 2.5.7
20 stages:
21   - static
22   - spec
23   - acceptance
24   -
25     if: tag =~ ^v\d
26     name: deploy
27 jobs:
28   fast_finish: true
29   include:
30     -
31       env: CHECK="validate lint check rubocop"
32       stage: static
33     -
34       env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
35       rvm: 2.5.7
36       stage: spec
37     -
38       env: DEPLOY_TO_FORGE=yes
39       stage: deploy
40 branches:
41   only:
42     - main
43     - /^v\d/
44 notifications:
45   email: false