.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: env:
- TARGET=doc - TARGET=doc
- TARGET=examples - TARGET=examples
- TARGET=python - TARGET=python2
- TARGET=python3
- TARGET=java - TARGET=java
- TARGET=node4 - TARGET=node4
- TARGET=node5 - TARGET=node5

View File

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