summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-26 13:32:23 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-05-26 14:26:01 +0200
commitd5e62136b24c09f96c9e9e63d851cdfd41a7fb88 (patch)
treea043610a4fb163f7538b41a292b3af2f47be41d2 /docker
parentf4ebda09bea82146a0754d319b031cf62c0023e1 (diff)
downloadqtlocation-mapboxgl-d5e62136b24c09f96c9e9e63d851cdfd41a7fb88.tar.gz
[docker] upgrade docker scripts [skip ci]
Diffstat (limited to 'docker')
-rw-r--r--docker/linux/Dockerfile4
-rwxr-xr-xdocker/linux/test.sh13
2 files changed, 8 insertions, 9 deletions
diff --git a/docker/linux/Dockerfile b/docker/linux/Dockerfile
index 4c97d946e3..c797082d93 100644
--- a/docker/linux/Dockerfile
+++ b/docker/linux/Dockerfile
@@ -1,7 +1,7 @@
FROM mapbox/gl-native:travis
# Install compiler
-RUN apt-get -y install gdb g++-4.9 gcc-4.9 libllvm3.4
+RUN apt-get -y install gdb g++-5 gcc-5 libllvm3.4
RUN useradd -ms /bin/bash mapbox
USER mapbox
@@ -11,4 +11,4 @@ WORKDIR /home/mapbox
# Node
RUN git clone https://github.com/creationix/nvm.git ~/.nvm && \
. ~/.nvm/nvm.sh && \
- NVM_DIR=~/.nvm nvm install 0.10
+ NVM_DIR=~/.nvm nvm install 4.4.5
diff --git a/docker/linux/test.sh b/docker/linux/test.sh
index 3afb73366c..21632daa18 100755
--- a/docker/linux/test.sh
+++ b/docker/linux/test.sh
@@ -3,12 +3,13 @@
# set -e
# set -o pipefail
-export CXX=g++-4.9
+export _CXX=g++-5
+export _CC=gcc-5
export BUILDTYPE=Release
# Node
. ~/.nvm/nvm.sh
-nvm use 0.10
+nvm use 4.4.5
# Xvfb
start-stop-daemon --start --pidfile ~/xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1024x768x24 -ac +extension GLX +render -noreset
@@ -17,9 +18,7 @@ cd build
# before_install
source ./scripts/travis_helper.sh
+source ./scripts/travis_setup.sh
-# install
-./platform/linux/scripts/install.sh
-
-# script
-./platform/linux/scripts/run.sh
+make linux
+make test-linux