forked from rubocop/rubocop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 969 Bytes
/
.travis.yml
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
sudo: false
cache: bundler
language: ruby
matrix:
include:
- rvm: jruby-9.0.1.0
env: JRUBY_OPTS='--debug' # get more accurate coverage data
- rvm: 2.4.0 # Ruby 2.4.0 runs very slow, so let it start earlier
- rvm: 2.0.0
- rvm: 2.1.10
- rvm: 2.2.6
- rvm: 2.3.3
- rvm: ruby-head
- rvm: rbx-3
allow_failures:
- rvm: ruby-head
- rvm: rbx-3
fast_finish: true
before_install:
- gem update --remote bundler
- gem update --system
- rvm @global do gem uninstall bundler -a -x
- rvm @global do gem install bundler -v 1.13.7
install:
- bundle install --retry=3
script:
- bundle exec rake
- bundle exec codeclimate-test-reporter
# Running YARD under jruby crashes so skip checking manual under jruby
- ruby -e "exit 1 unless RUBY_PLATFORM == 'java'" || bundle exec rake generate_cops_documentation
addons:
code_climate:
repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f