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:
|
|
|
|
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
|
|
|
|
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache 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 18:57:06 +02:00
|
|
|
- xvfb-run -a make -silent check TESTARGS="-silent"
|