Build astyle

This commit is contained in:
Matthias Kuhn 2017-02-24 15:15:59 +01:00
parent e0c58eb7d7
commit 77bc28f36c
4 changed files with 9 additions and 5 deletions

View File

@ -13,7 +13,4 @@
# #
###########################################################################
export DEBIAN_FRONTEND=noninteractive
export CORES=2
pip install autopep8

View File

@ -13,7 +13,10 @@
# #
###########################################################################
export CORES=2
mkdir build
cd build
cmake ../ci/travis/code_layout
make -j${CORES}

View File

@ -13,6 +13,10 @@
# #
###########################################################################
cd build
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
export QGISSTYLE=${DIR}/scripts/qgisstyle
pushd build
xvfb-run ctest -V --output-on-failure
popd

View File

@ -14,7 +14,7 @@
# #
###########################################################################
for ASTYLE in $(dirname $0)/qgisstyle $(dirname $0)/RelWithDebInfo/qgisstyle
for ASTYLE in ${QGISSTYLE} $(dirname $0)/qgisstyle $(dirname $0)/RelWithDebInfo/qgisstyle
do
if type -p $ASTYLE >/dev/null; then
break