remove outdated cpplint from travis CI

This commit is contained in:
arvidn 2020-05-12 12:46:20 +02:00 committed by Arvid Norberg
parent cbb4f0277e
commit 5af7aae6d3
1 changed files with 1 additions and 6 deletions

View File

@ -13,7 +13,7 @@ matrix:
- env: variant=test_debug crypto=openssl python=1 toolset=darwin ios=1
os: osx
osx_image: xcode11.2
- env: variant=debug toolset=gcc lint=1 pylint=1 clang_tidy=1
- env: variant=debug toolset=gcc pylint=1 clang_tidy=1
addons:
apt:
packages:
@ -171,7 +171,6 @@ install:
- 'echo "using python : : $(which python3) : /usr/local/Frameworks/Python.framework/Headers : : <target-os>darwin ;" >> ~/user-config.jam'
- 'echo "using python : : $(which python3) : : : <target-os>linux ;" >> ~/user-config.jam'
- if [ "$docs" == "1" ]; then rst2html.py --version; fi
- 'if [ "$lint" == "1" ]; then curl "https://raw.githubusercontent.com/google/styleguide/71ec7f1e524969c19ce33cfc72e8e023f2b98ee2/cpplint/cpplint.py" >~/cpplint.py; fi'
- 'if [ "$pylint" == "1" ]; then
sudo pip3 install flake8;
python3 -m flake8 --version;
@ -219,10 +218,6 @@ script:
fi'
- cd ..
# NB: google's cpplint.py currently does not work with python3...
- 'if [ "$lint" == "1" ]; then
python ~/cpplint.py --extensions=cpp --headers=hpp --filter=-,+runtime/explicit,+whitespace/end_of_line --linelength=90 test/*.{cpp,hpp} src/*.cpp include/libtorrent/*.hpp include/libtorrent/kademlia/*.hpp src/kademlia/*.cpp include/libtorrent/aux_/*.hpp include/libtorrent/extensions/*.hpp simulation/*.{cpp,hpp} tools/*.{cpp,hpp} examples/*.{cpp,hpp};
fi'
- 'if [ "$pylint" == "1" ]; then
python3 -m flake8 --max-line-length=120 --ignore=E741,W504,E126,W503,E121;
fi'