Skip to content

Commit

Permalink
set up codeclimate test report
Browse files Browse the repository at this point in the history
  • Loading branch information
sufleR committed Aug 4, 2020
1 parent a3eb65f commit 8c79f00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
env:
global:
- CC_TEST_REPORTER_ID=743bf63d7a422064551b35931628682c6cad81a30743edee7ff9ea8af061397d
language: ruby
cache: bundler
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter

gemfile:
- gemfiles/3.2.gemfile
Expand All @@ -16,10 +21,11 @@ rvm:

addons:
postgresql: '9.4'
code_climate:
repo_token: 743bf63d7a422064551b35931628682c6cad81a30743edee7ff9ea8af061397d

env:
- BUILDER=travis
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[![Gem Version](https://badge.fury.io/rb/sql_query.svg)](http://badge.fury.io/rb/sql_query)
[![Dependency Status](https://gemnasium.com/sufleR/sql_query.svg)](https://gemnasium.com/sufleR/sql_query)
[![Code Climate](https://codeclimate.com/github/sufleR/sql_query/badges/gpa.svg)](https://codeclimate.com/github/sufleR/sql_query)
[![Test Coverage](https://codeclimate.com/github/sufleR/sql_query/badges/coverage.svg)](https://codeclimate.com/github/sufleR/sql_query)
[![Build Status](https://travis-ci.org/sufleR/sql_query.svg?branch=master)](https://travis-ci.org/sufleR/sql_query)
Expand Down

0 comments on commit 8c79f00

Please sign in to comment.