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

rvm:
  - 2.7
  - 2.6
  - 2.5
  - 2.4
  - 2.3
  - 2.2
  - 2.1
  - ruby-head

matrix:
  include:
    - rvm: 2.5
      name: "Run Danger and Code Climate"
      before_script:
        - bundle exec danger
      after_script:
        - bundle exec codeclimate-test-reporter
    - rvm: 2.5
      name: "Integration Tests"
      install:
        - for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle; done
      script:
        - set -e ; for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle exec rspec $dir; done
    - rvm: rbx-3
      dist: trusty
      bundler_args: --retry 0
    - rvm: jruby-9.0.5.0
      dist: trusty
    - rvm: jruby-head
      dist: trusty
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3