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