[Travis] using pacman for getting devkitppc

This commit is contained in:
Maschell 2018-05-26 12:06:56 +02:00
parent b36db402c1
commit 0df946621a

View File

@ -7,7 +7,6 @@ os:
env:
global:
- DEVKITPRO=$HOME/devkitPro
- DEVKITPPC=${DEVKITPRO}/devkitPPC
cache:
directories:
@ -20,10 +19,12 @@ addons:
before_install:
- mkdir -p "${DEVKITPRO}"
- wget https://downloads.devkitpro.org/devkitPPC_r29-1-x86_64-linux.tar.bz2 -O devkitPPC-linux.tar.bz2
- 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
- yes | sudo dkp-pacman -Syu devkitPPC
- export DEVKITPPC=/opt/devkitpro/devkitPPC
install:
- tar -xjf devkitPPC-linux.tar.bz2 -C ${DEVKITPRO}/
- 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
script: