Commit 22cf15d1 authored by Ole Christian Eidheim's avatar Ole Christian Eidheim
Browse files

Fixed static analysis ci script. Since static analysis is performed through...

Fixed static analysis ci script. Since static analysis is performed through clang++, the clang++ compilation was removed
parent f94c5782
......@@ -14,7 +14,6 @@ before_install:
- ./ci/update_ci.sh
script:
- script=compile CXX=clang++ CC=clang ./ci/execute.sh
- script=static_analysis ./ci/execute.sh
- script=clean ./ci/execute.sh
- script=compile CXX=g++ CC=gcc ./ci/execute.sh
- script=static_analysis ./ci/execute.sh
......@@ -19,7 +19,6 @@ if [ "${make_command}" == "" ]; then
fi
cd libclangmm || echo "Can't cd into libclangmm"
git submodule update --init --recursive # appveyor doesn't checkout recursively
mkdir -p build && cd build || echo "Error making build directory"
sh -c "${cmake_command}" || echo "Cmake configuration failed"
exec sh -c "${make_command}"
#!/bin/bash
if [ "${cmake_command}" == "" ]; then
cmake_command="scan-build cmake .."
fi
if [ "${make_command}" == "" ]; then
make_command="make -j 2"
make_command="scan-build --status-bugs make -j 2"
fi
cd libclangmm/build || exit
exec sh -c "scan-build -o ../html_${distribution} --status-bugs ${make_command}"
cd libclangmm || echo "Can't cd into libclangmm"
mkdir -p build && cd build || echo "Error making build directory"
sh -c "${cmake_command}" || echo "Cmake configuration failed"
exec sh -c "${make_command}"
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