diff --git a/.travis.yml b/.travis.yml index 428fb19ef..52e0f3eed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,34 +14,33 @@ branches: before_install: - sudo apt-get update -qq # Building for PSP here - - if [ "$BUILD_TYPE" == "PSP"]; then + - if [ "$BUILD_TYPE" == "PSP" ]; then export PSPDEV="$TRAVIS_BUILD_DIR/opt/pspsdk" export PSPSDK="$PSPDEV/psp/sdk" export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin" wget -O sdk.lzma http://sourceforge.net/projects/minpspw/files/SDK%20%2B%20devpak/pspsdk%200.11.2/minpspw_0.11.2-amd64.tar.lzma/download fi # Building for Android here - - if [ "$BUILD_TYPE" == "Android"]; then + - if [ "$BUILD_TYPE" == "Android" ]; then export ANDROID="android-sdk-linux/tools/android" if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch jq; fi wget http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2 -nv wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz -nv fi # Building for Qt here - - if [ "$BUILD_TYPE" == "Qt"]; then + - if [ "$BUILD_TYPE" == "Qt" ]; then sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa sudo apt-get update -qq sudo apt-get install -qq qt5-qmake qtbase5-dev qtdeclarative5-dev qttools5-dev qtmultimedia5-dev pulseaudio libpulse-dev export QMAKE="qmake -qt=qt5" fi - install: # Building for PSP here - - if [ "$BUILD_TYPE" == "PSP"]; then + - if [ "$BUILD_TYPE" == "PSP" ]; then tar -x --xz -f sdk.lzma fi - - if [ "$BUILD_TYPE" == "Android"]; then + - if [ "$BUILD_TYPE" == "Android" ]; then tar --absolute-names -jxf android-ndk-r9-linux-x86_64.tar.bz2 tar -zxf android-sdk_r23.0.2-linux.tgz $ANDROID list sdk --extended -a