Skip to content

Commit

Permalink
Build astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 24, 2017
1 parent e0c58eb commit 77bc28f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 0 additions & 3 deletions ci/travis/code_layout/before_install.sh
Expand Up @@ -13,7 +13,4 @@
# #
###########################################################################

export DEBIAN_FRONTEND=noninteractive
export CORES=2

pip install autopep8
3 changes: 3 additions & 0 deletions ci/travis/code_layout/install.sh
Expand Up @@ -13,7 +13,10 @@
# #
###########################################################################

export CORES=2

mkdir build
cd build

cmake ../ci/travis/code_layout
make -j${CORES}
6 changes: 5 additions & 1 deletion ci/travis/code_layout/script.sh
Expand Up @@ -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
2 changes: 1 addition & 1 deletion scripts/astyle.sh
Expand Up @@ -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
Expand Down

0 comments on commit 77bc28f

Please sign in to comment.