upm/.travis.yml
Nicolas Oliver c402fbb5e8 .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>
2017-06-12 21:16:59 -07:00

34 lines
580 B
YAML

sudo: required
language: cpp
compiler:
- clang
- gcc
env:
- TARGET=doc
- TARGET=examples
- TARGET=python
- TARGET=java
- TARGET=node4
- TARGET=node5
matrix:
exclude:
- compiler: clang
env: TARGET=java
services:
- docker
before_script:
- if [ "$CC" == "gcc" ]; then export CC=gcc-4.8; fi
- if [ "$CXX" == "g++" ]; then export CXX=g++-4.8; fi
- if [ "$CC" == "clang" ]; then export CC=clang-3.8; fi
- if [ "$CXX" == "clang++" ]; then export CXX=clang++-3.8; fi
- docker-compose build ${TARGET}
script:
- docker-compose run ${TARGET}