-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from paddatrapper/travis-boards
Build for all target boards
- Loading branch information
Showing
1 changed file
with
45 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |