summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-11-02 16:00:09 -0500
committerDane Springmeyer <dane@mapbox.com>2014-11-02 16:00:09 -0500
commitd5dfd6e6d5712a324334a669fd14c236d4161581 (patch)
tree0ccaa8c9ce787458110de2d7665ac12e0a516c2d /scripts
parent203a42d83a5fdb95774a4c280552ac8cb8256c1f (diff)
downloadqtlocation-mapboxgl-d5dfd6e6d5712a324334a669fd14c236d4161581.tar.gz
debug failing travis script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_before_install.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh
index 65be1c29df..6e598570a8 100755
--- a/scripts/travis_before_install.sh
+++ b/scripts/travis_before_install.sh
@@ -4,15 +4,28 @@ set -e
set -o pipefail
if [[ "${MASON_PLATFORM}" == "android" ]]; then
+ echo "debug: unpacking"
mapbox_time "unpacking NDK" \
$(MASON_PLATFORM= ./.mason/mason install 7z 9.20)
+
+ echo "debug: setting 7z path"
SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za"
+
+ echo "debug: fetching NDK"
mapbox_time "fetching NDK" \
wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
+
+ echo "debug: chmod NDK"
chmod a+x ./android-ndk-r10c-linux-x86_64.bin
+
+ echo "debug: upacking NDK"
mapbox_time "unpacking NDK" \
- $(SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > /dev/null);
- export ANDROID_NDK_PATH=$(pwd)/android-ndk-r10c;
+ $(SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > /dev/null)
+
+ echo "debug: setting ANDROID_NDK_PATH"
+ export ANDROID_NDK_PATH=$(pwd)/android-ndk-r10c
+
+ echo "debug: $ANDROID_NDK_PATH"
fi
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then