chmod +x drop travis_helper from android and ios source travis_helper.sh before_install only run setup.sh if file exists explicitly local paths explicit if statement in before_install source setup.sh
20 lines
467 B
Bash
Executable File
20 lines
467 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
BUILDTYPE=${BUILDTYPE:-Release}
|
|
|
|
################################################################################
|
|
# Build
|
|
################################################################################
|
|
|
|
mapbox_time "checkout_styles" \
|
|
git submodule update --init styles
|
|
|
|
mapbox_time "compile_program" \
|
|
make xosx -j${JOBS} BUILDTYPE=${BUILDTYPE}
|
|
|
|
mapbox_time "compile_tests" \
|
|
make xtest -j${JOBS} BUILDTYPE=${BUILDTYPE}
|