Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis: build using devkitpro docker image
This is actually supported and robust, as opposed to downloading these packages from the CI builders.
- Loading branch information
Showing
2 changed files
with
12 additions
and
6 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,6 @@ | ||
FROM devkitpro/devkitarm | ||
|
||
RUN apt-get update && \ | ||
apt install -y gcc && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* |
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,15 +1,15 @@ | ||
language: c | ||
|
||
sudo: required | ||
|
||
services: docker | ||
|
||
install: | ||
- wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb && | ||
sudo dpkg -i devkitpro-pacman.deb | ||
- sudo dkp-pacman --noconfirm -S gba-dev | ||
- export DEVKITPRO=/opt/devkitpro | ||
- docker build -t build .ci/ | ||
- pip install --user cpp-coveralls | ||
|
||
script: | ||
- make all examples | ||
- make check | ||
- docker run -v $TRAVIS_BUILD_DIR:/build build make -C /build all examples check | ||
|
||
after_success: | ||
- coveralls --include src --gcov-options '\-lp' |