summaryrefslogtreecommitdiff
path: root/docker/linux/test.sh
blob: 3afb73366c9b7d9ab52a9a12ae8bc2629095ea3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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