summaryrefslogtreecommitdiff
path: root/docker/linux/test.sh
blob: f9d0b5daeca689ae2f9af9e23774982db6a321d6 (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
26
#!/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
./platform/${FLAVOR}/scripts/install.sh

# script
./platform/${FLAVOR}/scripts/run.sh