Skip to content

Commit 4c9242a

Browse files
committed
Use ruby 2.5.3 and update code climate
1 parent 0da47bb commit 4c9242a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.5.3

.travis.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
env:
2+
global:
3+
- CC_TEST_REPORTER_ID=333fce48233f0f608d146f7855e78bf449200c0aaeab76cbd50fa440c323e943
14
language: ruby
25
rvm:
3-
- 2.3.0
6+
- 2.5.3
47
before_script:
8+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
9+
- chmod +x ./cc-test-reporter
10+
- ./cc-test-reporter before-build
511
- mkdir bin-test && cd bin-test
612
- curl --location -O https://bitbucket.org/JesusFreke/smali/downloads/smali-2.2.5.jar && mv smali-*.jar smali.jar
713
- curl --location -O https://bitbucket.org/JesusFreke/smali/downloads/baksmali-2.2.5.jar && mv baksmali-*.jar baksmali.jar
@@ -10,4 +16,7 @@ before_script:
1016
- chmod +x ./smali ./baksmali
1117
- export PATH=$PATH:$PWD
1218
- cd ..
13-
script: bundle exec rspec && bundle exec codeclimate-test-reporter
19+
script:
20+
- bundle exec rspec
21+
after_script:
22+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)