Update .travis.yml

This commit is contained in:
Ignacio Sanchez Gines authored and GitHub committed 2017-12-29 14:20:02 +01:00
1 parent 833349d7fd
commit 9bed201642
1 file changed
+6 -9
+6 -9
View File
@@ -15,14 +15,11 @@ matrix:
env: BUILD_TYPE=ios
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y build-essential qt5-default qttools5-dev-tools freeglut3-dev libsdl2-dev libglew-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd platforms/linux/Gearboy; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y build-essential qt5-default qttools5-dev-tools freeglut3-dev libsdl2-dev libglew-dev; fi
script:
- if [[ "$BUILD_TYPE" == "ios" ]]; then xcodebuild clean build -sdk iphonesimulator -project platforms/ios/Gearboy.xcodeproj -scheme Gearboy CODE_SIGNING_REQUIRED=NO; fi
- if [[ "$BUILD_TYPE" == "linux" ]]; then cd platforms/linux/Gearboy && qmake Gearboy.pro && make; fi
- if [[ "$BUILD_TYPE" == "libretro" ]]; then cd platforms/libretro && make; fi
- if [[ "$BUILD_TYPE" == "ios" ]]; then xcodebuild clean build -sdk iphonesimulator -project platforms/ios/Gearboy.xcodeproj -scheme Gearboy CODE_SIGNING_REQUIRED=NO; fi
- if [[ "$BUILD_TYPE" == "desktop" ]]; then cd platforms/linux/Gearboy && qmake Gearboy.pro && make; fi
- if [[ "$BUILD_TYPE" == "libretro" ]]; then cd platforms/libretro && make; fi