Commit 099070c3 authored by Luca Boccassi's avatar Luca Boccassi

Problem: clang-format Travis job broken

Solution: don't run configure
parent 8fb5b10d
......@@ -2,6 +2,19 @@
set -x
cd ../..
# always install custom builds from dist
# to make sure that `make dist` doesn't omit any files required to build & test
if [ -z $DO_CLANG_FORMAT_CHECK ]; then
./autogen.sh
./configure
make -j5 dist-gzip
V=$(./version.sh)
tar -xzf zeromq-$V.tar.gz
cd zeromq-$V
fi
mkdir tmp
BUILD_PREFIX=$PWD/tmp
......@@ -35,7 +48,6 @@ elif [ $CURVE == "libsodium" ]; then
fi
# Build, check, and install from local source
cd ../..
mkdir build_cmake
cd build_cmake
if [ "$DO_CLANG_FORMAT_CHECK" -eq "1" ] ; then
......
......@@ -70,18 +70,5 @@ if [ $BUILD_TYPE == "default" ]; then
make VERBOSE=1 -j5 distcheck
) || exit 1
else
# always install custom builds from dist
# to make sure that `make dist` doesn't omit any files required to build & test
# coverage, valgrind are special-case tests that aren't meant to be runnable from releases
if [ ${BUILD_TYPE} != "coverage" ] && [ ${BUILD_TYPE} != "valgrind" ]; then
./autogen.sh
./configure
make -j5 dist-gzip
V=$(./version.sh)
tar -xzf zeromq-$V.tar.gz
cd zeromq-$V
fi
# start the actual build from inside the dist
cd ./builds/${BUILD_TYPE} && ./ci_build.sh
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment