* Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts.
26 lines
450 B
Bash
Executable File
26 lines
450 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# set -e
|
|
# set -o pipefail
|
|
|
|
export CXX=g++-4.9
|
|
export BUILDTYPE=Release
|
|
|
|
# Node
|
|
. ~/.nvm/nvm.sh
|
|
nvm use 0.10
|
|
|
|
# Xvfb
|
|
start-stop-daemon --start --pidfile ~/xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1024x768x24 -ac +extension GLX +render -noreset
|
|
|
|
cd build
|
|
|
|
# before_install
|
|
source ./scripts/travis_helper.sh
|
|
|
|
# install
|
|
./platform/linux/scripts/install.sh
|
|
|
|
# script
|
|
./platform/linux/scripts/run.sh
|