.travis.yml in danger-apkstats-0.0.2 vs .travis.yml in danger-apkstats-0.1.0
- old
+ new
@@ -1,12 +1,25 @@
language: ruby
cache:
directories:
- - bundle
+ - vendor/bundle
+ - sdk
rvm:
- - 2.0
- - 2.1.3
- - 2.3.1
+ - 2.3.7
+ - 2.4.4
+ - 2.5.1
script:
- - bundle exec rake spec
\ No newline at end of file
+ - |
+ version='4333796'
+
+ if [ "$(cat sdk/.sdk_tools_version || echo)" != "$version" ]; then
+ rm -fr sdk || :
+ mkdir -p sdk/licenses
+ curl -o sdk-tools-linux.zip "https://dl.google.com/android/repository/sdk-tools-linux-$version.zip"
+ unzip "sdk-tools-linux.zip" -d sdk
+ fi
+
+ echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > sdk/licenses/android-sdk-license
+ sdk/tools/bin/sdkmanager "build-tools;27.0.3"
+ - ANDROID_HOME="$PWD/sdk" bundle exec rake spec