File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ language: ruby
2
2
3
3
sudo : false
4
4
5
+ env :
6
+ global :
7
+ - CC_TEST_REPORTER_ID=e3cc62c08862c0408fd35ab5170a962881519eeea88d35736a211f80731ce30b
8
+
5
9
# We deviate from the rspec-dev cache setting here.
6
10
#
7
11
# Travis has special bundler support where it knows to run `bundle clean`
@@ -32,8 +36,16 @@ before_script:
32
36
- rm -f bin/rails
33
37
- bundle exec rails --version
34
38
39
+ # Download code climate
40
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
41
+ - chmod +x ./cc-test-reporter
42
+ - ./cc-test-reporter before-build
43
+
35
44
script : " script/run_build 2>&1"
36
45
46
+ after_script :
47
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
48
+
37
49
matrix :
38
50
include :
39
51
# Rails dev / 6 builds >= 2.4.4
You can’t perform that action at this time.
0 commit comments