diff --git a/scripts/travis_script.sh b/scripts/travis_script.sh index 562d6fad2..5a4e6b312 100755 --- a/scripts/travis_script.sh +++ b/scripts/travis_script.sh @@ -6,14 +6,13 @@ set -o pipefail mapbox_time "checkout_styles" \ git submodule update --init styles -if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then +if [[ $MASON_PLATFORM == "android" ]]; then + mapbox_time "compile_program" \ + make android -j$JOBS BUILDTYPE=${BUILDTYPE} +elif [[ ${TRAVIS_OS_NAME} == "linux" ]]; then # # build & test Linux # - if [[ $MASON_PLATFORM == "android" ]]; then - mapbox_time "compile_program" \ - make android -j$JOBS BUILDTYPE=${BUILDTYPE} - fi mapbox_time "compile_tests" \ make test -j$JOBS BUILDTYPE=${BUILDTYPE}