From ab7c10dcd13b0f882aefff4bdd8ff94bf6e145bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Fri, 26 Jun 2020 17:56:43 +0200 Subject: [PATCH] Run python check in parallel with django --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 90d6117..3e4d3a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,14 +42,15 @@ jobs: - docker-compose -f docker/docker-compose.yml up -d script: - docker-compose -f docker/docker-compose.yml exec bite python manage.py test + - stage: django + env: python + install: + - pip3 -q install flake8 + script: + - flake8 bite --exclude migrations,settings.py - <<: *iot-simulator env: IOT_TL=http - <<: *iot-simulator env: IOT_TL=mqtt - <<: *iot-simulator env: IOT_TL=ws - - stage: python - install: - - pip3 -q install flake8 - script: - - flake8 bite --exclude migrations,settings.py