Skip to content

Commit

Permalink
Merge pull request #40 from paddatrapper/travis-boards
Browse files Browse the repository at this point in the history
Build for all target boards
  • Loading branch information
mithro committed Jan 31, 2018
2 parents c2a334a + 4a2f870 commit 7be69be
Showing 1 changed file with 45 additions and 10 deletions.
55 changes: 45 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,56 @@
language: c
sudo: required
sudo: false

addons:
apt:
packages:
- doxygen

install:
- # Install sdcc and as31
- sudo apt-get install --force-yes -y as31 doxygen
- export BOARD="$B" && echo "BOARD='$BOARD'"
- export TARGETS="$T" && echo "TARGETS='$TARGETS'"
- make conda
- export PATH=$PWD/conda/bin:$PATH
- which sdcc
- sdcc --version
- ./.travis/setup.sh

script:
- make firmware-fx2
- make firmware-audio-fx2
- make firmware-unconfigured
- make microload
- make docs
- make $TARGETS

jobs:
fail_fast: true
include:
#-----------------------------------------
# Video targets
#-----------------------------------------
- stage: Build
env: B=opsis T="firmware-fx2"
- stage: Build
env: B=atlys T="firmware-fx2"

#-----------------------------------------
# Audio targets
#-----------------------------------------
- stage: Build
env: B=opsis T="firmware-audio-fx2"
- stage: Build
env: B=atlys T="firmware-audio-fx2"
- stage: Build
env: B=fx2miniboard T="firmware-audio-fx2"

#-----------------------------------------
# Unconfigured targets
#-----------------------------------------
- stage: Build
env: B=opsis T="firmware-unconfigured"
- stage: Build
env: B=atlys T="firmware-unconfigured"

after_success:
- ./.travis/push-docs.sh
#-----------------------------------------
# Build and deploy docs
#-----------------------------------------
- stage: Deploy docs
script:
- make docs
- ./.travis/push-docs.sh

0 comments on commit 7be69be

Please sign in to comment.