From 5af7aae6d38d8e8d4ee06358357326ae6cb95ade Mon Sep 17 00:00:00 2001 From: arvidn Date: Tue, 12 May 2020 12:46:20 +0200 Subject: [PATCH] remove outdated cpplint from travis CI --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0fc8ca43..89a732359 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 : : darwin ;" >> ~/user-config.jam' - 'echo "using python : : $(which python3) : : : 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'