File tree Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,27 @@ language: ruby
22sudo : false
33before_install :
44 - bundle update
5+ env :
6+ global :
7+ - CC_TEST_REPORTER_ID=63659c56322a7a1262f6375083f44c8789ee405a6bcf9027189d67c90d08887c
8+ - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
59rvm :
610 - 2.1
7- - 2.2
8- - 2.3.0
11+ - 2.2.2
12+ - 2.3.3
913 - ruby-head
1014matrix :
1115 allow_failures :
1216 - rvm : ruby-head
17+ before_script :
18+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
19+ - chmod +x ./cc-test-reporter
20+ - ./cc-test-reporter before-build
21+ after_script :
22+ # Preferably you will run test-reporter on branch update events. But
23+ # if you setup travis to build PR updates only, you don't need to run
24+ # the line below
25+ - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
26+ # In the case where travis is setup to build PR updates only,
27+ # uncomment the line below
28+ # - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ Gem::Specification.new do |spec|
1515
1616 spec . add_development_dependency 'rake' , '~> 11.3'
1717 spec . add_development_dependency 'rspec' , '~> 3.5'
18- spec . add_development_dependency 'codecov' , '~> 0.1 '
18+ spec . add_development_dependency 'simplecov '
1919end
Original file line number Diff line number Diff line change 11require 'simplecov'
22SimpleCov . start
33
4- require 'codecov'
5- SimpleCov . formatter = SimpleCov ::Formatter ::Codecov
6-
74require 'jsonapi/renderer'
You can’t perform that action at this time.
0 commit comments