diff --git a/.travis.yml b/.travis.yml index fc25c521cd..7fdb1fb2ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"