Files
MapLibreParticleLab/docker/linux/test.sh
Konstantin Käfer b3f31e9fa2 [core] update docker script
[skip ci]
2015-10-16 13:58:01 +02:00

27 lines
460 B
Bash
Executable File

#!/usr/bin/env bash
# set -e
# set -o pipefail
export FLAVOR=linux
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
./scripts/${FLAVOR}/install.sh
# script
./scripts/${FLAVOR}/run.sh