Skip to content

Commit

Permalink
[AIRFLOW-3699] Speed up Flake8 (#4515)
Browse files Browse the repository at this point in the history
Flake8 runs within the Docker container, which is not needed.
Running this outside Docker will dramatically speed up the
CI process.
  • Loading branch information
Fokko committed Jan 14, 2019
1 parent 7001268 commit 08eba52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
sudo: true
dist: trusty
language: python
python:
- "3.6"
env:
global:
- DOCKER_COMPOSE_VERSION=1.20.0
Expand All @@ -42,8 +44,7 @@ jobs:
include:
- name: Flake8
stage: pre-test
script: docker-compose --log-level ERROR -f scripts/ci/docker-compose.yml run airflow-testing /app/scripts/ci/run-ci.sh
env: TOX_ENV=flake8
script: pip install flake8 && flake8
- name: Check license header
stage: pre-test
script: scripts/ci/6-check-license.sh
Expand Down

0 comments on commit 08eba52

Please sign in to comment.