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:
Noel Eck
2018-03-13 11:09:27 -07:00
parent 4be5d915af
commit 76c8b9a76e
2 changed files with 15 additions and 0 deletions

View File

@@ -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

View File

@@ -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: