forked from mirrors/linphone-iphone
Configure travis for brew / cmake compilation instead of downloading the SDK
This commit is contained in:
parent
13c099870d
commit
6f91f79f1a
1 changed files with 16 additions and 8 deletions
24
.travis.yml
24
.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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue