.travis.yml,docker-compose.yaml: set more specific command to run

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Nicolas Oliver 2017-05-29 11:21:11 -07:00 committed by Mihai Tudor Panu
parent c402fbb5e8
commit ce9742b355
2 changed files with 10 additions and 5 deletions

View File

@ -9,7 +9,8 @@ compiler:
env:
- TARGET=doc
- TARGET=examples
- TARGET=python
- TARGET=python2
- TARGET=python3
- TARGET=java
- TARGET=node4
- TARGET=node5

View File

@ -50,12 +50,16 @@ services:
- BUILDEXAMPLES=ON
command: bash -c "make $$(make help | grep example | sed 's/... //' | tr '\n' ' ')"
python:
python2:
extends: main
build:
args:
- BUILDSWIGPYTHON=ON
command: bash -c "make"
command: bash -c "make $$(make help | grep _pyupm_.*-python2 | sed 's/... //' | tr '\n' ' ')"
python3:
extends: python2
command: bash -c "make $$(make help | grep _pyupm_.*-python3 | sed 's/... //' | tr '\n' ' ')"
java:
extends: main
@ -64,7 +68,7 @@ services:
- BUILDSWIGJAVA=ON
- CC=gcc-4.8
- CXX=g++-4.8
command: bash -c "make"
command: bash -c "make $$(make help | grep javaupm | sed 's/... //' | tr '\n' ' ')"
node4:
extends: main
@ -72,7 +76,7 @@ services:
args:
- BUILDSWIGNODE=ON
- NODE_VERSION=v4.1.2
command: bash -c "make"
command: bash -c "make $$(make help | grep jsupm | sed 's/... //' | tr '\n' ' ')"
node5:
extends: node4