Skip to content

Commit 77bc28f

Browse files
committedFeb 24, 2017
Build astyle
1 parent e0c58eb commit 77bc28f

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed
 

‎ci/travis/code_layout/before_install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@
1313
# #
1414
###########################################################################
1515

16-
export DEBIAN_FRONTEND=noninteractive
17-
export CORES=2
18-
1916
pip install autopep8

‎ci/travis/code_layout/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
# #
1414
###########################################################################
1515

16+
export CORES=2
17+
1618
mkdir build
1719
cd build
1820

1921
cmake ../ci/travis/code_layout
22+
make -j${CORES}

‎ci/travis/code_layout/script.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# #
1414
###########################################################################
1515

16-
cd build
16+
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
1717

18+
export QGISSTYLE=${DIR}/scripts/qgisstyle
19+
20+
pushd build
1821
xvfb-run ctest -V --output-on-failure
22+
popd

‎scripts/astyle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# #
1515
###########################################################################
1616

17-
for ASTYLE in $(dirname $0)/qgisstyle $(dirname $0)/RelWithDebInfo/qgisstyle
17+
for ASTYLE in ${QGISSTYLE} $(dirname $0)/qgisstyle $(dirname $0)/RelWithDebInfo/qgisstyle
1818
do
1919
if type -p $ASTYLE >/dev/null; then
2020
break

0 commit comments

Comments
 (0)
Please sign in to comment.