From 0df946621a5b5689ff7c3edc70dee5a3ac576396 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 26 May 2018 12:06:56 +0200 Subject: [PATCH] [Travis] using pacman for getting devkitppc --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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: