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

View File

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