-
Notifications
You must be signed in to change notification settings - Fork 72
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 #43 from timvideos/travis
Adding initial travis-ci building.
- Loading branch information
Showing
5 changed files
with
97 additions
and
74 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
. scripts/setup-env.sh | ||
|
||
set -x | ||
|
||
BOARDS="atlys opsis" | ||
TARGETS="hdmi2usb" | ||
|
||
for BOARD in $BOARDS; do | ||
for TARGET in $TARGETS; do | ||
echo "---------------------------------------------" | ||
echo "- $BOARD $TARGET" | ||
echo "---------------------------------------------" | ||
|
||
BOARD=$BOARD TARGET=$TARGET make help | ||
|
||
# FIXME: Add ability to compile gateware. | ||
|
||
BOARD=$BOARD TARGET=$TARGET make lm32-firmware | ||
BOARD=$BOARD TARGET=$TARGET make fx2-firmware | ||
|
||
BOARD=$BOARD TARGET=$TARGET make clean | ||
done | ||
done |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
sudo apt-get install -y realpath | ||
|
||
scripts/get-env.sh | ||
|
||
set +x | ||
set +e | ||
. scripts/setup-env.sh |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#vim : | ||
sudo: required | ||
|
||
language: | ||
- c | ||
|
||
compiler: | ||
- gcc | ||
|
||
install: | ||
- wget -q -O- https://raw.githubusercontent.com/mithro/travis-trusty/master/setup.sh | bash | ||
- chmod a+rx $PWD/.travis-*.sh | ||
- /trusty/run.py $PWD/.travis-setup.sh | ||
|
||
script: | ||
- /trusty/run.py $PWD/.travis-run.sh | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
irc: "irc.freenode.org#hdmi2usb" |
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
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