[T] Temporary commented astyle
This commit is contained in:
parent
8850b74303
commit
461a0fc63c
38
.travis.yml
38
.travis.yml
@ -222,25 +222,25 @@ script:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Astyle Format
|
# Astyle Format
|
||||||
- |
|
# - |
|
||||||
if [ "${CC}" = 'gcc' ]; then
|
# if [ "${CC}" = 'gcc' ]; then
|
||||||
ls
|
# ls
|
||||||
cd .. ;
|
# cd .. ;
|
||||||
rm -r build/* ;
|
# rm -r build/* ;
|
||||||
cd build ;
|
# cd build ;
|
||||||
cmake .. -DFORT_ENABLE_ASTYLE=ON ;
|
# cmake .. -DFORT_ENABLE_ASTYLE=ON ;
|
||||||
make ;
|
# make ;
|
||||||
make format ;
|
# make format ;
|
||||||
cd .. ;
|
# cd .. ;
|
||||||
if [[ -n $(git diff) ]]; then
|
# if [[ -n $(git diff) ]]; then
|
||||||
echo "You must run make format before submitting a pull request" ;
|
# echo "You must run make format before submitting a pull request" ;
|
||||||
echo "" ;
|
# echo "" ;
|
||||||
git diff ;
|
# git diff ;
|
||||||
exit -1 ;
|
# exit -1 ;
|
||||||
fi
|
# fi
|
||||||
cd build ;
|
# cd build ;
|
||||||
rm -rf external
|
# rm -rf external
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
|
|
||||||
# Clang static analyzer (doesn't work - can't find scan-build)
|
# Clang static analyzer (doesn't work - can't find scan-build)
|
||||||
|
Loading…
Reference in New Issue
Block a user