Skip to content

Commit

Permalink
travis-ci: Added minimal travis job
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
noel-eck committed Mar 13, 2018
1 parent 4be5d91 commit 76c8b9a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yaml
Expand Up @@ -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:
Expand Down

0 comments on commit 76c8b9a

Please sign in to comment.