Skip to content

Commit

Permalink
Adding matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Sep 13, 2015
1 parent b54756d commit 070b18c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -6,6 +6,14 @@ language:
compiler:
- gcc

env:
matrix:
- BOARD=atlys
- BOARD=opsis
- TARGET=base
- TARGET=hdmi2usb
- TARGET=hdmi2ethernet

install:
- wget -q -O- https://raw.githubusercontent.com/mithro/travis-trusty/master/setup.sh | bash
- chmod a+rx $PWD/.travis/*.sh
Expand Down
12 changes: 10 additions & 2 deletions .travis/run.sh
Expand Up @@ -11,8 +11,16 @@ fi
set +x
set -e

BOARDS="atlys opsis"
TARGETS="hdmi2usb hdmi2ethernet"
if [ -z "$BOARD" ]; then
BOARDS="atlys opsis"
else
BOARDS="$BOARD"
fi
if [ -z "$TARGET" ]; then
TARGETS="hdmi2usb hdmi2ethernet"
else
TARGETS="$TARGET"
fi

for BOARD in $BOARDS; do
for TARGET in $TARGETS; do
Expand Down

0 comments on commit 070b18c

Please sign in to comment.