From 6f91f79f1a4396eef42d572afba8ee1d180156cc Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Mon, 8 Jun 2015 17:13:36 +0200 Subject: [PATCH] Configure travis for brew / cmake compilation instead of downloading the SDK --- .travis.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1829d674f..36e97bbfe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,6 @@ xcode_project: linphone.xcodeproj xcode_scheme: linphone xcode_sdk: iphonesimulator8.1 -git: - submodules: false - branches: only: - master @@ -17,12 +14,23 @@ env: - KIF_SCREENSHOTS=Screens - secure: "JPPcWdmNIJiR3YcIwe0LRYce6qDdsiagO+eKKAp7eVk/wD9UHbz96Ms2FFkXxPhRJB1PA6Pf8FpAzIL2YRiJL9jRtKHSvtdF1cSto+57XyBkCsw7PkMVUIxp7fg6Wiwn3H3tucF8jisIkv/Pn7R+9EqePkZSqqu3+ig5AX9ApQ4=" +before_install: + - brew update + - brew install autoconf automake pkg-config doxygen nasm gettext wget yasm optipng imagemagick coreutils intltool + - brew outdated cmake || brew upgrade cmake + - brew link gettext --force + - brew tap Gui13/linphone + - brew install antlr3.2 + - wget --no-check-certificate https://raw.github.com/yuvi/gas-preprocessor/master/gas-preprocessor.pl + - chmod +x gas-preprocessor.pl + - sudo mv gas-preprocessor.pl /usr/local/bin + - sudo ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize + - sudo ln -s /usr/bin/strings /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings + - git submodule update --init --recursive + install: - - cd submodules/build - - make download-sdk - - cd ../.. - - git submodule update --init Classes/KIF - - git submodule update --init --recursive submodules/linphone + - ./prepare.py all + - make - mkdir -p Screens - export KIF_SCREENSHOTS=`pwd`/Screens