2018-05-26 12:17:42 +02:00
language : cpp
2017-11-14 03:57:36 +01:00
2018-05-26 12:17:42 +02:00
os : linux
sudo : false
dist : trusty
2017-11-14 03:57:36 +01:00
env :
global :
2018-05-26 13:06:46 +02:00
- DEVKITPRO=/opt/devkitpro
- DEVKITPPC=/opt/devkitpro/devkitPPC
- PORTLIBREPOS=$HOME/portlibrepos
2017-11-14 03:57:36 +01:00
cache :
directories :
2018-05-26 12:17:42 +02:00
- "$HOME/.local"
2018-05-26 13:06:46 +02:00
- "$DEVKITPRO"
2017-11-14 03:57:36 +01:00
addons :
apt :
packages :
- p7zip-full
before_install :
2017-12-16 11:12:28 +01:00
- mkdir -p "${DEVKITPRO}"
2018-05-26 12:06:56 +02:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo dpkg -i /tmp/devkitpro-pacman.deb; fi
2018-05-26 16:29:13 +02:00
- yes | sudo dkp-pacman -Syu devkitPPC --needed
2017-11-14 03:57:36 +01:00
install :
2018-05-26 13:06:46 +02:00
- rm -rf $DEVKITPRO/portlibs
2017-11-14 03:57:36 +01:00
- 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
script :
2018-05-26 13:06:46 +02:00
- make && make install