travis.yml. Added support for "make check", run tests.
--HG-- branch : develop
This commit is contained in:
parent
7e49c3524f
commit
ab3c60fe03
33
.travis.yml
Normal file
33
.travis.yml
Normal 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
|
|
@ -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 += \
|
||||
|
|
Loading…
Reference in New Issue
Block a user