diff options
author | Leith Bade <leith@mapbox.com> | 2014-11-27 00:18:42 +1100 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2014-11-28 00:19:11 +1100 |
commit | 8c4d1e4d80174aedca4b733c1c25d2025807a5d9 (patch) | |
tree | b9100675fafc94dc908908041e482bab3609e398 /scripts | |
parent | b1c793d1e00c470b86c8750b51c1b15beaeaecd7 (diff) | |
download | qtlocation-mapboxgl-8c4d1e4d80174aedca4b733c1c25d2025807a5d9.tar.gz |
Fix access token on travis
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis_before_install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh index 5a3d9258ff..e06893b52c 100755 --- a/scripts/travis_before_install.sh +++ b/scripts/travis_before_install.sh @@ -50,6 +50,9 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then #mapbox_time "installing SDK" \ sudo apt-get -y install lib32stdc++6 lib32z1 jq echo y | ./android-sdk/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.1,android-21,extra-android-m2repository,extra-google-m2repository + + echo "debug: inserting access token" + sed -i 's/access token goes here/${ANDROID_KEY}/g' android/java/app/src/main/java/com/mapbox/mapboxgl/app/MapFragment.java elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then |