QTestLib require GUI support for some tests.
--HG-- branch : develop
This commit is contained in:
parent
d3dd53eaa1
commit
f52ca9ac94
|
@ -21,6 +21,9 @@ before_install:
|
|||
- sudo apt-get install -y libqt5core5 libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf cppcheck
|
||||
|
||||
before_script:
|
||||
# QTestLib require GUI support for some tests
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- mkdir build
|
||||
- cd build
|
||||
- which qmake
|
||||
|
@ -31,7 +34,7 @@ before_script:
|
|||
script:
|
||||
- cppcheck --error-exitcode=1 --quiet --inline-suppr --template '{file}:{line}:{message}:{id}' --std=posix --enable=performance,portability ../src
|
||||
- make -j$(nproc)
|
||||
- make check
|
||||
- DISPLAY=:99.0 make check
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
|
Loading…
Reference in New Issue
Block a user