Skip to content

Commit

Permalink
travis: build using devkitpro docker image
Browse files Browse the repository at this point in the history
This is actually supported and robust, as oposed to downloading
these packages from the CI builders.
  • Loading branch information
kusma committed Feb 7, 2021
1 parent 3eda3d1 commit a7569be
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .ci/Dockerfile
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/*
12 changes: 6 additions & 6 deletions .travis.yml
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'

0 comments on commit a7569be

Please sign in to comment.