File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,23 @@ before_script:
23
23
- bundle exec rake db:create
24
24
- DB=mysql bundle exec rake parallel:create
25
25
- DB=postgres bundle exec rake parallel:create
26
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
27
+ - chmod +x ./cc-test-reporter
28
+ - ./cc-test-reporter before-build
26
29
27
30
script :
28
31
- bundle exec rake $TASKS
29
32
30
33
after_script :
31
- - codeclimate -test-reporter
34
+ - ./cc -test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
32
35
33
36
services :
34
37
- mysql
35
38
- postgresql
36
39
37
- addons :
38
- code_climate :
39
- repo_token : 870bc78f6d6257a97e7a2150c787294062775852f2608e132226d0d2a936bd05
40
-
41
40
env :
42
41
global :
43
- - secure : " ikEVVNPGAX1NqgBPXdjxcPJ3ihO9TyTtaN4iX3d2Wv0GdlSKgRqtCXrWuttVfYGqSoHHWwvCR3qum7N44akLsntrkcIQXGu6CsTsvqDC+vAKHtC31TVmuTEXZyIYA7455+B+a8nMsrO5LjX1ylucV1ZhGLzA84lMRQYkr6PklK0= " # CODECLIMATE_REPO_TOKEN
42
+ - CC_TEST_REPORTER_ID=301facccb751b8f202e8a382e9f74bda51055f738691cf2ee9a9b853ac807304
44
43
- CF_RUN_PERM_SPECS=false
45
44
46
45
matrix :
Original file line number Diff line number Diff line change 1
1
require File . expand_path ( '../../config/boot' , __FILE__ )
2
2
3
- if ENV [ 'CODECLIMATE_REPO_TOKEN' ] && ENV [ ' COVERAGE']
3
+ if ENV [ 'COVERAGE' ]
4
4
require 'simplecov'
5
5
SimpleCov . start do
6
6
add_filter '/spec/'
You can’t perform that action at this time.
0 commit comments