diff --git a/.travis.yml b/.travis.yml index feeb36b..5ee9b51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: