Permalink
Browse files

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>
  • Loading branch information...
pylbert committed Mar 13, 2018
1 parent 4be5d91 commit 76c8b9a76e2c66f41eb089bb9fa7e5307e224b1e
Showing with 15 additions and 0 deletions.
  1. +7 −0 .travis.yml
  2. +8 −0 docker-compose.yaml
@@ -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:

0 comments on commit 76c8b9a

Please sign in to comment.