travis-ci: Added minimal travis job
Added an additional job to the CI matrix which does a minimal mraa build (only C) which can run and pass/fail quickly. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@@ -15,6 +15,13 @@ before_install:
|
||||
jobs:
|
||||
fast_finish: true
|
||||
include:
|
||||
- &run-with-clang-minimal
|
||||
stage: Clang 3.8 - minimal mock platform
|
||||
env: TARGET=minimal
|
||||
before_script: docker-compose pull ${TARGET}
|
||||
script:
|
||||
- export CC=clang-3.8 CXX=clang++-3.8
|
||||
- BUILDARCH=MOCK docker-compose run ${TARGET}
|
||||
- &run-with-clang
|
||||
stage: Clang 3.8
|
||||
env: TARGET=python2
|
||||
|
@@ -33,6 +33,14 @@ services:
|
||||
extends: base
|
||||
image: inteliotdevkit/mraa-all
|
||||
|
||||
minimal:
|
||||
extends: base
|
||||
environment:
|
||||
- BUILDSWIG=OFF
|
||||
- INSTALLTOOLS=OFF
|
||||
- JSONPLAT=OFF
|
||||
command: bash -c "./scripts/run-cmake.sh && cd build && make"
|
||||
|
||||
doc:
|
||||
extends: all
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user