Revision 738f06ac
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
.travis.yml | ||
---|---|---|
language: cpp
|
||
|
||
os:
|
||
- linux
|
||
# - osx
|
||
|
||
env:
|
||
- CONFIG=Release
|
||
- CONFIG=Debug
|
||
sudo: required
|
||
dist: trusty
|
||
language: generic
|
||
compiler: gcc
|
||
|
||
install:
|
||
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa &&
|
||
sudo apt-get update &&
|
||
sudo apt-get install qtbase5-dev libqt5sql5-mysql libqt5sql5-sqlite &&
|
||
sudo apt-get install lcov odbcinst libmyodbc odbc-postgresql
|
||
- sudo add-apt-repository -y ppa:beineri/opt-qt551-trusty
|
||
- sudo apt-get update
|
||
- sudo apt-get -y install qt55base qt55declarative
|
||
- sudo apt-get -y install qt55quickcontrols qt55graphicaleffects
|
||
- sudo apt-get -y install qt55tools
|
||
|
||
script:
|
||
- qmake
|
||
&& make
|
||
&& make check
|
||
|
||
notifications:
|
||
email: false
|
||
- export LD_LIBRARY_PATH="`pwd`/build/linux-g++-64/x86_64/release:.:$LD_LIBRARY_PATH"
|
||
- source /opt/qt55/bin/qt55-env.sh
|
||
- qmake EntityManager.pro -r "CONFIG+=release c++11" -after "DESTDIR = `pwd`/build/linux-g++-64/x86_64/release" # "OBJECTS_DIR=`pwd`/obj" "MOC_DIR=`pwd`/moc" "UI_DIR=`pwd`/ui" "RCC_DIR=`pwd`/rcc"
|
||
- make
|
||
- make check
|
Auch abrufbar als: Unified diff
improved .travis.yml