summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 820be50b456065faa1570b59d66ccea9b09c16d1 (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
language: ruby
cache: bundler
dist: xenial
sudo: false

branches:
  only:
    - master
    - 14-stable
    - 13-stable

bundler_args: --jobs 7 --without docs debug

before_install:
  - gem --version
  - rvm @global do gem uninstall bundler -a -x -I || true
  - gem install bundler
  - bundle --version
  - rm -f .bundle/config
rvm:
  - 2.4.4
  - 2.5.1
  - ruby-head

matrix:
  allow_failures:
    - rvm: ruby-head

script:
  - bundle exec chefstyle -v
  - bundle exec rake
  - bundle exec ohai