forked from CalebFenton/dex-oracle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (22 loc) · 947 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
env:
global:
- CC_TEST_REPORTER_ID=333fce48233f0f608d146f7855e78bf449200c0aaeab76cbd50fa440c323e943
language: ruby
rvm:
- 2.5.3
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- mkdir bin-test && cd bin-test
- curl --location -O https://bitbucket.org/JesusFreke/smali/downloads/smali-2.2.5.jar && mv smali-*.jar smali.jar
- curl --location -O https://bitbucket.org/JesusFreke/smali/downloads/baksmali-2.2.5.jar && mv baksmali-*.jar baksmali.jar
- curl --location -O https://bitbucket.org/JesusFreke/smali/downloads/smali
- curl --location -O https://bitbucket.org/JesusFreke/smali/downloads/baksmali
- chmod +x ./smali ./baksmali
- export PATH=$PATH:$PWD
- cd ..
script:
- bundle exec rspec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT