.travis.yaml,docker-compose.yaml: add examples building to the matrix

Prevent building examples on every job

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 10:46:31 -07:00 committed by Mihai Tudor Panu
parent b757ccc617
commit c402fbb5e8
2 changed files with 9 additions and 1 deletions

View File

@ -8,6 +8,7 @@ compiler:
env:
- TARGET=doc
- TARGET=examples
- TARGET=python
- TARGET=java
- TARGET=node4

View File

@ -22,7 +22,7 @@ services:
- BUILDSWIGPYTHON=OFF
- BUILDSWIGJAVA=OFF
- BUILDSWIGNODE=OFF
- BUILDEXAMPLES=ON
- BUILDEXAMPLES=OFF
- IPK=OFF
- RPM=OFF
- NPM=OFF
@ -43,6 +43,13 @@ services:
- BUILDDOC=ON
command: make doc
examples:
extends: main
build:
args:
- BUILDEXAMPLES=ON
command: bash -c "make $$(make help | grep example | sed 's/... //' | tr '\n' ' ')"
python:
extends: main
build: