Cleanup travis file (reference check already done in Makefile)

This commit is contained in:
Thibault Kruse 2016-05-31 07:29:30 +02:00
parent 4a4edb5807
commit 180cd89a1f

View File

@ -21,16 +21,5 @@ script:
- cd scripts; make -k
- cd ..
## find lines with tabs
# - rm -f CppCoreGuidelines.md.tabs
# - cat CppCoreGuidelines.md | nl -ba | sed -s 's/\(^[^\t]*\)\t/\1--/g' | grep $'\t' | sed -s 's/\t/\*\*\*\*/g' > CppCoreGuidelines.md.tabs
# - if [[ -s CppCoreGuidelines.md.tabs ]]; then echo 'Tabs found'; cat CppCoreGuidelines.md.tabs; false; fi;
## check references unique
- rm -f CppCoreGuidelines.md.uniq
- grep -oP '(?<=<a name=")[^\"]+' CppCoreGuidelines.md | uniq -d > CppCoreGuidelines.md.uniq
- if [[ -s CppCoreGuidelines.md.uniq ]]; then echo 'Found duplicate anchors:'; cat CppCoreGuidelines.md.uniq; false; fi;
notifications:
email: false