[Travis] Only reinstall packages if updated.

This commit is contained in:
Maschell 2018-05-26 16:25:00 +02:00
parent 02b70d1cfa
commit 6124f3c9de

View File

@ -28,9 +28,9 @@ before_install:
- 7z x -y ./loader/libs/portlibs.zip -o${DEVKITPRO}
- 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
- yes | sudo dkp-pacman -Syu devkitARM
- yes | sudo dkp-pacman -Syu general-tools
- yes | sudo dkp-pacman -Syu devkitPPC --needed
- yes | sudo dkp-pacman -Syu devkitARM --needed
- yes | sudo dkp-pacman -Syu general-tools --needed
install:
- cd $PORTLIBREPOS