More tweaks to osx android on travis
This commit is contained in:
14
.travis.yml
14
.travis.yml
@@ -22,18 +22,18 @@ matrix:
|
||||
- os: linux
|
||||
env: BUILDTYPE=Debug JOBS=8
|
||||
compiler: gcc
|
||||
- os: osx
|
||||
env: BUILDTYPE=Release JOBS=8
|
||||
compiler: clang
|
||||
- os: osx
|
||||
env: BUILDTYPE=Debug JOBS=8
|
||||
compiler: clang
|
||||
- os: osx
|
||||
env: BUILDTYPE=Release JOBS=8 MASON_PLATFORM=android
|
||||
compiler: clang
|
||||
- os: osx
|
||||
env: BUILDTYPE=Debug JOBS=8 MASON_PLATFORM=android
|
||||
compiler: clang
|
||||
- os: osx
|
||||
env: BUILDTYPE=Release JOBS=8
|
||||
compiler: clang
|
||||
- os: osx
|
||||
env: BUILDTYPE=Debug JOBS=8
|
||||
compiler: clang
|
||||
|
||||
env:
|
||||
global:
|
||||
@@ -49,7 +49,7 @@ before_install:
|
||||
- source ./scripts/flags.sh
|
||||
- export ANDROID_NDK_PATH="$(pwd)/android-ndk-r10c"
|
||||
- export NDK_HOME="$(pwd)/android-ndk-r10c"
|
||||
- export JAVA_HOME="$(pwd)/jdk1.7.0_71"
|
||||
- if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then export JAVA_HOME="$(pwd)/jdk1.7.0_71"; fi
|
||||
- export ANDROID_HOME="$(pwd)/android-sdk"
|
||||
- ./scripts/travis_before_install.sh
|
||||
- if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then export LD_LIBRARY_PATH=`mason prefix mesa 10.3.1`/lib; fi
|
||||
|
||||
@@ -83,7 +83,7 @@ elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
|
||||
|
||||
echo "debug: unpacking SDK"
|
||||
#mapbox_time "unpacking SDK" \
|
||||
unzip android-sdk_r23.0.2-macosx.zip
|
||||
unzip -qq android-sdk_r23.0.2-macosx.zip
|
||||
mv ./android-sdk-macosx ./android-sdk
|
||||
|
||||
echo "debug: installing SDK"
|
||||
|
||||
Reference in New Issue
Block a user