valentina_old/bitbucket-pipelines.yml
Roman Telezhynskyi 6577d5e135 Fix invalid bitbucket-pipelines.yml.
--HG--
branch : develop
2019-08-01 13:03:50 +03:00

28 lines
996 B
YAML

image: dismine/docker-valentina
pipelines:
default:
- step:
script:
- echo "This script runs on all branches that don't have any specific pipeline assigned in 'branches'."
branches:
develop:
- step:
caches:
- ccache
script:
- cat /etc/*-release
- uname -a
- grep -i processor /proc/cpuinfo | wc -l
- gcc --version
- mkdir build
- cd build
- qmake --version
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=checkWarnings
- make -j$(nproc)
- 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"
# QTestLib require GUI support for some tests
- xvfb-run -a make --silent check TESTARGS="-silent"
definitions:
caches:
ccache: $HOME/.ccache