.travis.yml 1.11 KB
Newer Older
Guillaume BIENKOWSKI's avatar
Guillaume BIENKOWSKI committed
1
language: objective-c
2
osx_image: xcode7.2
Guillaume BIENKOWSKI's avatar
Guillaume BIENKOWSKI committed
3 4 5

env:
    global:
Guillaume BIENKOWSKI's avatar
Guillaume BIENKOWSKI committed
6
        - secure: "JPPcWdmNIJiR3YcIwe0LRYce6qDdsiagO+eKKAp7eVk/wD9UHbz96Ms2FFkXxPhRJB1PA6Pf8FpAzIL2YRiJL9jRtKHSvtdF1cSto+57XyBkCsw7PkMVUIxp7fg6Wiwn3H3tucF8jisIkv/Pn7R+9EqePkZSqqu3+ig5AX9ApQ4="
7
        - KIF_SCREENSHOTS=$PWD/Screens
Guillaume BIENKOWSKI's avatar
Guillaume BIENKOWSKI committed
8

9
before_install:
10
    - brew update 1>/dev/null
11
    - brew install doxygen nasm yasm optipng imagemagick intltool ninja antlr cmake
12
    - wget --no-check-certificate https://raw.githubusercontent.com/FFmpeg/gas-preprocessor/master/gas-preprocessor.pl
13 14 15 16 17
    - chmod +x gas-preprocessor.pl
    - sudo mv gas-preprocessor.pl /usr/local/bin
    - sudo ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
    - git submodule update --init --recursive

18
install:
19
    - ./prepare.py -d x86_64 -G Ninja
20
    - make -j4 -s
21
    - mkdir -p $KIF_SCREENSHOTS
22

23
script:
24 25
    - xctool -project linphone.xcodeproj -scheme linphone -sdk iphonesimulator -destination name='iPhone 6' build 1>/dev/null
    - xctool -project linphone.xcodeproj -scheme linphone -sdk iphonesimulator -destination name='iPhone 6' test
26 27

after_script:
28
    - ./Tools/imgur_upload.sh