summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: b2a601c64e1e7111026b21c993b546f4193fe13c (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
language: ruby
cache: bundler

sudo: false

branches:
  only:
    - master
    - 8-stable

before_install:
  - gem update --system
  - gem --version
  - gem uninstall bundler -a -x -I
  - rvm @global do gem uninstall bundler -a -x -I
  - gem install bundler
  - bundle --version
  - rm -f .bundle/config
rvm:
  - 2.2.6
  - 2.3.3
  - 2.4.0
  - ruby-head

allow_failures:
  - rvm: ruby-head

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