diff options
author | 2018-11-06 19:22:18 +0100 | |
---|---|---|
committer | 2018-11-06 19:22:18 +0100 | |
commit | e58b373cc9d230cb4c851ed306dd0ee79a9aca06 (patch) | |
tree | 2dcf33e8b030bc6d8abf0163c00e53ddd77a9c78 /.gitlab-ci.yml | |
parent | Omit image build step. (diff) |
Install `flake8` before linting.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d8a2552..75f00d4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,9 @@ variables: lint-python: stage: lint - image: $BASE_IMAGE_URL:alpine-3.7-$CI_COMMIT_REF_SLUG + image: python:3.7-alpine + before_script: + - python -m pip install flake8 script: - flake8 tags: |