2016-08-01 18:37:24 +02:00
|
|
|
image: dismine/docker-valentina
|
2016-07-25 11:26:35 +02:00
|
|
|
pipelines:
|
|
|
|
default:
|
|
|
|
- step:
|
|
|
|
script:
|
|
|
|
- echo "This script runs on all branches that don't have any specific pipeline assigned in 'branches'."
|
|
|
|
branches:
|
|
|
|
develop:
|
|
|
|
- step:
|
2019-07-04 14:14:55 +02:00
|
|
|
caches:
|
2019-08-01 12:03:50 +02:00
|
|
|
- ccache
|
2016-07-25 11:26:35 +02:00
|
|
|
script:
|
2016-07-25 12:07:28 +02:00
|
|
|
- cat /etc/*-release
|
2016-07-25 11:26:35 +02:00
|
|
|
- uname -a
|
|
|
|
- grep -i processor /proc/cpuinfo | wc -l
|
|
|
|
- gcc --version
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- qmake --version
|
2019-07-04 14:14:55 +02:00
|
|
|
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=checkWarnings
|
2016-07-25 13:31:38 +02:00
|
|
|
- make -j$(nproc)
|
2016-07-25 13:15:24 +02:00
|
|
|
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/opt/atlassian/bitbucketci/agent/build/build/src/libs/vpropertyexplorer/bin:/opt/atlassian/bitbucketci/agent/build/build/src/libs/qmuparser/bin"
|
2016-07-25 14:12:09 +02:00
|
|
|
# QTestLib require GUI support for some tests
|
2016-08-03 19:46:53 +02:00
|
|
|
- xvfb-run -a make --silent check TESTARGS="-silent"
|
2019-07-04 14:14:55 +02:00
|
|
|
definitions:
|
|
|
|
caches:
|
|
|
|
ccache: $HOME/.ccache
|