2015-04-02 13:31:23 +02:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2015-11-28 20:32:13 +01:00
|
|
|
sudo: false
|
2015-04-02 13:31:23 +02:00
|
|
|
|
2015-04-15 23:17:42 +02:00
|
|
|
install:
|
|
|
|
# g++4.8.1
|
2015-11-28 20:32:13 +01:00
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2015-11-28 20:39:47 +01:00
|
|
|
- ubuntu-sdk-team
|
2015-11-28 20:32:13 +01:00
|
|
|
packages:
|
|
|
|
- qtbase5-dev
|
|
|
|
- libqt5svg5-dev
|
|
|
|
- qt5-default
|
|
|
|
- qttools5-dev-tools
|
|
|
|
- libqt5xmlpatterns5-dev
|
2015-12-14 20:13:40 +01:00
|
|
|
- libqt5core5a
|
2015-11-28 20:32:13 +01:00
|
|
|
- libqt5gui5
|
|
|
|
- libqt5printsupport5
|
|
|
|
- libqt5svg5
|
|
|
|
- libqt5widgets5
|
|
|
|
- libqt5xml5
|
|
|
|
- libqt5xmlpatterns5
|
|
|
|
- xpdf
|
|
|
|
- gcc-4.8
|
|
|
|
- g++-4.8
|
|
|
|
- clang
|
2015-04-15 23:17:42 +02:00
|
|
|
|
2015-04-02 13:31:23 +02:00
|
|
|
before_script:
|
2015-04-15 21:12:42 +02:00
|
|
|
# QTestLib require GUI support for some tests
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2015-04-02 13:31:23 +02:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- which qmake
|
|
|
|
- uname -a
|
|
|
|
- qmake --version
|
2015-11-26 14:00:43 +01:00
|
|
|
- qmake ../Valentina.pro -r CONFIG+=no_ccache
|
2015-04-02 13:31:23 +02:00
|
|
|
|
|
|
|
script:
|
2015-04-15 23:17:42 +02:00
|
|
|
- $CXX --version
|
2015-04-02 13:31:23 +02:00
|
|
|
- make -j$(nproc)
|
2015-04-15 21:12:42 +02:00
|
|
|
- DISPLAY=:99.0 make check
|
2015-04-02 13:31:23 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- dismine@gmail.com
|
2015-04-05 19:15:38 +02:00
|
|
|
- susan.spencer@gmail.com
|
2015-11-28 11:05:29 +01:00
|
|
|
- zhuravska19@gmail.com
|
2015-04-02 13:31:23 +02:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|