diff --git a/.travis.yml b/.travis.yml index 96a1f580f..4a3dd9322 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ matrix: # Covers Java 8, Oracle JDK, Android apps - jdk: oraclejdk8 env: ANDROID_HOME=$HOME/android-sdk-linux - before_install: if [ ! -d $HOME/android-sdk-linux ]; then curl -s https://storage.googleapis.com/zxing-build/android-sdk-linux.tar.bz2 | bunzip2 | tar xf - -C $HOME; fi + before_install: if [ ! -d $HOME/android-sdk-linux/tools ]; then curl -s https://storage.googleapis.com/zxing-build/android-sdk-linux.tar.bz2 | bunzip2 | tar xf - -C $HOME; else ls -l $HOME/android-sdk-linux; fi cache: directories: - $HOME/.m2