Skip to content

Instantly share code, notes, and snippets.

@Gr1N
Created July 12, 2017 19:23
Show Gist options
  • Save Gr1N/72086e96fa82cec4f1cdb21412cd9de6 to your computer and use it in GitHub Desktop.
Save Gr1N/72086e96fa82cec4f1cdb21412cd9de6 to your computer and use it in GitHub Desktop.
.gitlab-ci.yml example
image: themattrix/tox-base:latest
stages:
- test
py36-isort:
stage: test
script:
- tox -e py36-isort
tags:
- docker
py36-flake8:
stage: test
script:
- tox -e py36-flake8
tags:
- docker
py36-tests:
stage: test
script:
- tox -e py36-tests
coverage: '/\d+\%\s*$/'
artifacts:
paths:
- htmlcov/
tags:
- docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment