Herunterladen als
root/.travis.yml @ 4750b097
ce7a4eda | Christian Ehringfeld | language: cpp
|
|
os:
|
|||
- linux
|
|||
# - osx
|
|||
1fee3a4c | Christian Ehringfeld | env:
|
|
- CONFIG=Release
|
|||
- CONFIG=Debug
|
|||
ce7a4eda | Christian Ehringfeld | ||
install:
|
|||
1fee3a4c | Christian Ehringfeld | - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
|
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
|
|||
ce7a4eda | Christian Ehringfeld | && sudo apt-add-repository -y ppa:beineri/opt-qt541
|
|
&& sudo apt-get -qq update
|
|||
1fee3a4c | Christian Ehringfeld | && sudo apt-get -qq install gcc-5 libc6-i386 qt54tools qt54svg qt54webkit
|
|
&& export CXX="g++-5"
|
|||
&& export CC="gcc-5"
|
|||
bb0340b7 | Christian Ehringfeld | && export QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
|
|
1fee3a4c | Christian Ehringfeld | ;
|
|
else
|
|||
brew update
|
|||
&& brew unlink cmake
|
|||
&& brew install cmake
|
|||
&& brew install qt5
|
|||
&& chmod -R 755 /usr/local/opt/qt5/*
|
|||
ce7a4eda | Christian Ehringfeld | ;
|
|
1fee3a4c | Christian Ehringfeld | fi
|
|
ce7a4eda | Christian Ehringfeld | ||
script:
|
|||
bb0340b7 | Christian Ehringfeld | - QMAKE
|
|
1fee3a4c | Christian Ehringfeld | && make -j 3
|
|
&& make check
|