Skip to content
Snippets Groups Projects
Commit 2c40121d authored by Clayton Craft's avatar Clayton Craft
Browse files

Travis: fix issue with cloning cppcheck repo

parent b590c23c
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ set -e
dir=$HOME/cppcheck
ver=1.81
[ ! -d "$dir" ] && git clone --single-branch --depth=1 --branch $ver https://github.com/danmar/cppcheck.git $dir
[ ! -d "$dir/.git" ] && git clone --single-branch --depth=1 --branch $ver https://github.com/danmar/cppcheck.git $dir
cd $dir
sudo make -j 4 install CFGDIR="/usr/share/cppcheck" CXXFLAGS="-O2 -march=native -mtune=native -Wunreachable-code"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment