Travis: Combine jobs, flake8 has been moved to semaphore

This commit is contained in:
Michael du Breuil 2020-01-13 22:40:20 -07:00 committed by Peter Barker
parent d92c4dc892
commit 29d31accf2
1 changed files with 1 additions and 13 deletions

View File

@ -70,18 +70,6 @@ matrix:
- if: type != cron
compiler: "clang-7"
env: CI_BUILD_TARGET="sitltest-rover sitltest-sub sitltest-balancebot"
- if: type != cron
compiler: "gcc"
env: CI_BUILD_TARGET="unit-tests"
- if: type != cron
compiler: "clang-7"
env: CI_BUILD_TARGET="sitl""
- language: python
python: 3.7
addons: # speedup: This test does not need addons
compiler:
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
before_install: pip install flake8
script:
- EXCLUDE=./.*,./modules/gtest,./modules/ChibiOS/test,./modules/uavcan/libuavcan,./modules/libcanard
- flake8 . --count --exclude=$EXCLUDE --select=E901,E999,F821,F822,F823 --show-source --statistics
env: CI_BUILD_TARGET="unit-tests sitl"