Private
Public Access
2
0

build config: fix parameter configuration for docker-compose

We were incorrectly using clang all the time, overriding gcc.
This also brings newer version of docker-compose.

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
This commit is contained in:
Nicolas Oliver
2017-06-06 12:44:26 -03:00
committed by Alex Tereschenko
parent 4109b8b454
commit 000746c20d
2 changed files with 28 additions and 24 deletions

View File

@@ -45,6 +45,12 @@ matrix:
services: services:
- docker - docker
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
before_script: before_script:
- if [ "$CC" == "gcc" ]; then export CC=gcc-4.8; fi - if [ "$CC" == "gcc" ]; then export CC=gcc-4.8; fi
- if [ "$CXX" == "g++" ]; then export CXX=g++-4.8; fi - if [ "$CXX" == "g++" ]; then export CXX=g++-4.8; fi

View File

@@ -1,4 +1,4 @@
version: '2' version: '2.1'
services: services:
@@ -10,27 +10,27 @@ services:
- http_proxy - http_proxy
- https_proxy - https_proxy
- no_proxy - no_proxy
- BUILDDOC=OFF - BUILDDOC=${BUILDDOC:-OFF}
- BUILDSWIG=OFF - BUILDSWIG=${BUILDSWIG:-OFF}
- BUILDSWIGPYTHON=OFF - BUILDSWIGPYTHON=${BUILDSWIGPYTHON:-OFF}
- BUILDSWIGJAVA=OFF - BUILDSWIGJAVA=${BUILDSWIGJAVA:-OFF}
- BUILDSWIGNODE=OFF - BUILDSWIGNODE=${BUILDSWIGNODE:-OFF}
- USBPLAT=OFF - USBPLAT=${USBPLAT:-OFF}
- FIRMATA=OFF - FIRMATA=${FIRMATA:-OFF}
- ONEWIRE=OFF - ONEWIRE=${ONEWIRE:-OFF}
- JSONPLAT - JSONPLAT=${JSONPLAT:-OFF}
- IMRAA=OFF - IMRAA=${IMRAA:-OFF}
- FTDI4222=OFF - FTDI4222=${FTDI4222:-OFF}
- IPK=OFF - IPK=${IPK:-OFF}
- RPM=OFF - RPM=${RPM:-OFF}
- ENABLEEXAMPLES=ON - ENABLEEXAMPLES=${ENABLEEXAMPLES:-ON}
- INSTALLGPIOTOOL=OFF - INSTALLGPIOTOOL=${INSTALLGPIOTOOL:-OFF}
- INSTALLTOOLS=OFF - INSTALLTOOLS=${INSTALLTOOLS:-OFF}
- BUILDTESTS=ON - BUILDTESTS=${BUILDTESTS:-ON}
- CC=clang-3.8 - CC=${CC:-clang-3.8}
- CXX=clang++-3.8 - CXX=${CXX:-clang++-3.8}
- NODE_VERSION=v4.4.7 - NODE_VERSION=${NODE_VERSION:-v4.4.7}
- BUILDARCH - BUILDARCH=${BUILDARCH}
environment: environment:
- http_proxy - http_proxy
- https_proxy - https_proxy
@@ -42,8 +42,6 @@ services:
args: args:
- BUILDDOC=ON - BUILDDOC=ON
command: bash -c "make doc" command: bash -c "make doc"
volumes:
- ./build/html:/usr/src/app/build/html
python2: python2:
extends: main extends: main