Revision 3eae124b
Von Christian Ehringfeld vor etwa 9 Jahren hinzugefügt
.travis.yml | ||
---|---|---|
|
||
install:
|
||
- lsb_release -a
|
||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
||
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
|
||
# - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
||
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
|
||
&& sudo apt-add-repository -y ppa:beineri/opt-qt541
|
||
&& sudo apt-get -qq update
|
||
&& sudo apt-get -qq install g++-4.8 libc6-i386 qt54tools qt54svg qt54webkit qt54script
|
||
&& export CXX="g++-4.8"
|
||
&& export CC="gcc-4.8"
|
||
&& sudo apt-get -qq install g++-4.9 libc6-i386 qt54base qt54tools qt54svg qt54webkit qt54script
|
||
&& export CXX="g++-4.9"
|
||
&& export CC="gcc-4.9"
|
||
;
|
||
else
|
||
brew update
|
||
&& brew install qt5
|
||
&& brew install qt5-qmake
|
||
&& chmod -R 755 /usr/local/opt/qt5/*
|
||
;
|
||
fi
|
||
# else
|
||
# brew update
|
||
#&& brew install qt5
|
||
#&& brew install qt5-qmake
|
||
#&& chmod -R 755 /usr/local/opt/qt5/*
|
||
#;
|
||
#fi
|
||
|
||
script:
|
||
- /opt/qt54/bin/qt54-env.sh
|
||
- echo "#define BUILD ""$TRAVIS_BUILD_NUMBER" > build_number.h
|
||
# - echo "#define BUILD ""$TRAVIS_BUILD_NUMBER" > build_number.h
|
||
- /opt/qt54/bin/qmake EntityManager.pro -r "CONFIG+=release"
|
||
- make
|
||
- make check
|
Auch abrufbar als: Unified diff
ci