Skip to content
Permalink
Browse files

update travis with docker (#31)

  • Loading branch information...
WinterMute committed Jun 6, 2018
1 parent 9e9e494 commit 35a8b53f406669be54ba46e499d2c2d37b58f262
Showing with 9 additions and 18 deletions.
  1. +4 −18 .travis.yml
  2. +5 −0 .travis/docker.sh
@@ -1,25 +1,11 @@
language: c

sudo: false
sudo: required

cache:
directories:
- /home/travis/devkitPro

before_install:
# Prepare devkitARM update
- export DEVKITPRO=/opt/devkitpro
- export DEVKITARM=${DEVKITPRO}/devkitARM
- mkdir -p $DEVKITPRO
- cd $DEVKITPRO
- wget -N https://raw.githubusercontent.com/devkitPro/installer/master/perl/devkitARMupdate.pl
-
services: docker

install:
- cd $DEVKITPRO
# Install or update devkitARM if it's cached
- perl devkitARMupdate.pl
- cd $TRAVIS_BUILD_DIR
- docker pull devkitpro/devkitarm

script:
- make
- docker run -e ENABLE_COMPATIBILITY_REPORTING -v $TRAVIS_BUILD_DIR:/libnds devkitpro/devkitarm /bin/bash -ex /libnds/.travis/docker.sh
@@ -0,0 +1,5 @@
#!/bin/bash -ex

source /etc/profile.d/devkit-env.sh

make -C libnds

0 comments on commit 35a8b53

Please sign in to comment.
You can’t perform that action at this time.