summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 5293b04e5ad4b741b89ca45f70ec7e9878d53645 (plain)
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
---
sudo: false
dist: trusty
language: ruby
cache: bundler
before_install:
  - bundle -v
  - rm Gemfile.lock || true
  - gem update --system
  - gem update bundler
  - gem --version
  - bundle -v
script:
  - 'bundle exec rake $CHECK'
matrix:
  fast_finish: true
  include:
  - rvm: 2.1.9
    bundler_args: --without system_tests development
    env: PUPPET_VERSION="~> 4.0" CHECK=test
  - rvm: 2.2.7
    bundler_args: --without system_tests development
    env: PUPPET_VERSION="~> 4.0" CHECK=test
  - rvm: 2.3.4
    bundler_args: --without system_tests development
    env: PUPPET_VERSION="~> 4.0" CHECK=test
  - rvm: 2.4.1
    bundler_args: --without system_tests development
    env: PUPPET_VERSION="~> 4.0" CHECK=test
  - rvm: 2.4.1
    bundler_args: --without system_tests development
    env: PUPPET_VERSION="~> 4.0" CHECK=rubocop
  - rvm: 2.4.1
    bundler_args: --without system_tests development
    env: PUPPET_VERSION="~> 4.0" CHECK=build DEPLOY_TO_FORGE=yes
branches:
  only:
  - master
  - /^v\d/
notifications:
  email: false
deploy:
  provider: puppetforge
  user: puppet
  password:
    secure: "FTAS0/X8oF2Y/ONS2Ai5UC1eJYyLbf6zu6Kp76MyQpn9Briizh5wQMFS9gtwXKyEve/mf7f3HDPkf4QOJz6SELCxKt06bat9+LSi9Q7H4AUtiRXcVppKA1pc57kPt15bvuBfiNRX/LWSWGnQ5jVhD8AynqBvIIuEpKMOsapWPN/u9fC+6Fg7wGPwl2QTgUp0uDsiB8+wk9jt+RnZp+VbMJNe2NLuyWvTtFayZexWlngzU++KsJ+CJ+yZsYtWMgBn7xypMDlvYByXAMoyJeCBHrdJwZEbw4qN+UtZkP7u0sdHuf5ANAuWv3tlz818ox/TfqRv2WlzmT6pK87JkELwKQIjxQpf+6da9UfQcnfqqqtH4Dw/dsaIuSczu4NMd7bmc7P7d8qRiWe1UEqRU6lg/zqA5OM0mBc39hDebopCwihCRtcRZsOG6FN275QEoZiUrqos7c5w4rZnh/BIIOd5AiQ5Z6+BLiiiq0+XqNiK4EioKQicR+GqECIZrHMbfKBIPwyJHChlSOHqy8tnugHW3c0UWW44D6sHiN5aP85Qd37wlF9DmS3ZunymjgOH9Nl88qNZNKwr/i6iMrm+jO6u2RTbtZsbd4SPqv8lQube/WP/ocGGbxkow2wcCOu3psFQ+9QfP+bqVdVw5Y5xqwQ1YzhZaKt+SilXu4fbxc/VqkE="
  on:
    tags: true
    # all_branches is required to use tags
    all_branches: true
    # Only publish the build marked with "DEPLOY_TO_FORGE"
    condition: "$DEPLOY_TO_FORGE = yes"