diff options
author | Leith Bade <leith@mapbox.com> | 2014-12-04 08:38:02 +1100 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2014-12-04 08:38:02 +1100 |
commit | c817e476f3e2f424139dea968cb9747354bce1bc (patch) | |
tree | 9ee3588cbbb938cd7db5de5c61998ecb558c70b2 /scripts | |
parent | de5a0f5854ce849afd9c82e7aa44f5cb067f4838 (diff) | |
download | qtlocation-mapboxgl-c817e476f3e2f424139dea968cb9747354bce1bc.tar.gz |
Revert "Fix travis again x6"
This reverts commit 58833dd56a29d14afb7b40d8484328941d3d5020.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis_before_install.sh | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh index b9f5deabe6..cff998c7b7 100755 --- a/scripts/travis_before_install.sh +++ b/scripts/travis_before_install.sh @@ -11,11 +11,11 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then echo "load submodules" git submodule update --init --recursive - #echo "installing 7z" - #MASON_PLATFORM= ./.mason/mason install 7z 9.20 + echo "installing 7z" + MASON_PLATFORM= ./.mason/mason install 7z 9.20 - #echo "setting 7z path" - #SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za" + echo "setting 7z path" + SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za" echo "fetching NDK" wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin @@ -24,9 +24,8 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then chmod a+x ./android-ndk-r10c-linux-x86_64.bin echo "unpacking NDK" - #$SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > .tmp-ndk-log - #rm .tmp-ndk-log - ./android-ndk-r10c-linux-x86_64.bin + $SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > .tmp-ndk-log + rm .tmp-ndk-log echo "fetching JDK" wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.tar.gz @@ -50,11 +49,11 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then - #echo "installing 7z" - #MASON_PLATFORM= ./.mason/mason install 7z 9.20 + echo "installing 7z" + MASON_PLATFORM= ./.mason/mason install 7z 9.20 - #echo "setting 7z path" - #SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za" + echo "setting 7z path" + SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za" echo "fetching NDK" wget http://dl.google.com/android/ndk/android-ndk-r10c-darwin-x86_64.bin @@ -63,9 +62,8 @@ elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then chmod a+x ./android-ndk-r10c-darwin-x86_64.bin echo "unpacking NDK" - #$SEVEN_ZIP_PATH x ./android-ndk-r10c-darwin-x86_64.bin > .tmp-ndk-log - #rm .tmp-ndk-log - ./android-ndk-r10c-darwin-x86_64.bin + $SEVEN_ZIP_PATH x ./android-ndk-r10c-darwin-x86_64.bin > .tmp-ndk-log + rm .tmp-ndk-log echo "fetching SDK" wget http://dl.google.com/android/android-sdk_r23.0.2-macosx.zip |