Browse Source

Travis: Combine jobs, flake8 has been moved to semaphore

zr-v5.1
Michael du Breuil 5 years ago committed by Peter Barker
parent
commit
29d31accf2
  1. 14
      .travis.yml

14
.travis.yml

@ -70,18 +70,6 @@ matrix: @@ -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"

Loading…
Cancel
Save