1*73075c26SAnton Filimonovlanguage: cpp 2*73075c26SAnton Filimonov 3*73075c26SAnton Filimonovmatrix: 4*73075c26SAnton Filimonov include: 5*73075c26SAnton Filimonov - os: linux 6*73075c26SAnton Filimonov compiler: gcc 7*73075c26SAnton Filimonov addons: 8*73075c26SAnton Filimonov apt: 9*73075c26SAnton Filimonov sources: 10*73075c26SAnton Filimonov - ubuntu-toolchain-r-test 11*73075c26SAnton Filimonov packages: 12*73075c26SAnton Filimonov - gcc-5 13*73075c26SAnton Filimonov - g++-5 14*73075c26SAnton Filimonov - os: osx 15*73075c26SAnton Filimonov compiler: clang 16*73075c26SAnton Filimonov 17*73075c26SAnton Filimonov 18*73075c26SAnton Filimonov 19*73075c26SAnton Filimonovbefore_install: 20*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != linux ] || sudo add-apt-repository -y ppa:beineri/opt-qt562' 21*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get -qy update' 22*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != osx ] || brew update' 23*73075c26SAnton Filimonov 24*73075c26SAnton Filimonovinstall: 25*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get -qy install qt56base qt56tools qt56svg' 26*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get -qy install libboost-program-options-dev' 27*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != osx ] || brew install qt5' 28*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != osx ] || brew link --force qt5' 29*73075c26SAnton Filimonov 30*73075c26SAnton Filimonovbefore_script: 31*73075c26SAnton Filimonov - '[[ "$TRAVIS_OS_NAME" != linux || "$CXX" != g++ ]] || export QMAKESPEC=linux-g++' 32*73075c26SAnton Filimonov - '[[ "$TRAVIS_OS_NAME" != osx || "$CXX" != clang++ ]] || export QMAKESPEC=macx-clang' 33*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != linux ] || source /opt/qt56/bin/qt56-env.sh' 34*73075c26SAnton Filimonov - qmake -v 35*73075c26SAnton Filimonov 36*73075c26SAnton Filimonovscript: 37*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != linux ] || qmake QMAKE_CXX=g++-5 glogg.pro' 38*73075c26SAnton Filimonov - '[ "$TRAVIS_OS_NAME" != osx ] || qmake glogg.pro' 39*73075c26SAnton Filimonov - make 40