travis.yml. Added support for "make check", run tests.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-04-02 14:31:23 +03:00
parent 7e49c3524f
commit ab3c60fe03
2 changed files with 35 additions and 0 deletions

33
.travis.yml Normal file
View File

@ -0,0 +1,33 @@
language: cpp
os:
- linux
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
- sudo apt-get update -qq
- sudo apt-get install -y qtbase5-dev libqt5svg5-dev ccache qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev
- sudo apt-get install -y libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 libstdc++6 xpdf
before_script:
- mkdir build
- cd build
- which qmake
- uname -a
- qmake --version
- qmake ../Valentina.pro -r
script:
- make -j$(nproc)
- make check
notifications:
email:
recipients:
- dismine@gmail.com
on_success: change
on_failure: always

View File

@ -20,6 +20,8 @@ CONFIG -= debug_and_release debug_and_release_target
# We use C++11 standard
CONFIG += c++11
CONFIG += testcase
DEFINES += SRCDIR=\\\"$$PWD/\\\"
SOURCES += \