From d457134237aa93db4117edd2f333e1e52b9306b2 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 6 Apr 2020 22:36:36 +0200 Subject: [PATCH] generate drone config --- .drone.yml | 63 +++++++++++++++++++++--------------------------------- 1 file changed, 24 insertions(+), 39 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7a1f4fd..6529efc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,46 +60,12 @@ platform: arch: amd64 steps: -- name: pytest - image: python:3.8 +- name: python35-pytest + image: python:3.5 commands: - pip install pipenv -qq - pipenv --bare install --dev --keep-outdated - pipenv run pytest dockertidy --cov=dockertidy --no-cov-on-fail - environment: - PY_COLORS: 1 - -- name: codecov - image: python:3.8 - commands: - - pip install codecov -qq - - codecov --required -X gcov - environment: - CODECOV_TOKEN: - from_secret: codecov_token - PY_COLORS: 1 - -trigger: - ref: - - refs/heads/master - - refs/tags/** - - refs/pull/** - -depends_on: -- dependencies - ---- -kind: pipeline -name: verify - -platform: - os: linux - arch: amd64 - -steps: -- name: python35-pytest - image: python:3.5 - commands: - pip install -qq . - docker-tidy --help - docker-tidy --version @@ -112,6 +78,9 @@ steps: - name: python36-pytest image: python:3.6 commands: + - pip install pipenv -qq + - pipenv --bare install --dev --keep-outdated + - pipenv run pytest dockertidy --cov=dockertidy --no-cov-on-fail - pip install -qq . - docker-tidy --help - docker-tidy --version @@ -124,6 +93,9 @@ steps: - name: python37-pytest image: python:3.7 commands: + - pip install pipenv -qq + - pipenv --bare install --dev --keep-outdated + - pipenv run pytest dockertidy --cov=dockertidy --no-cov-on-fail - pip install -qq . - docker-tidy --help - docker-tidy --version @@ -136,6 +108,9 @@ steps: - name: python38-pytest image: python:3.8 commands: + - pip install pipenv -qq + - pipenv --bare install --dev --keep-outdated + - pipenv run pytest dockertidy --cov=dockertidy --no-cov-on-fail - pip install -qq . - docker-tidy --help - docker-tidy --version @@ -145,6 +120,16 @@ steps: depends_on: - clone +- name: codecov + image: python:3.8 + commands: + - pip install codecov -qq + - codecov --required -X gcov + environment: + CODECOV_TOKEN: + from_secret: codecov_token + PY_COLORS: 1 + trigger: ref: - refs/heads/master @@ -152,7 +137,7 @@ trigger: - refs/pull/** depends_on: -- test +- dependencies --- kind: pipeline @@ -179,7 +164,7 @@ trigger: - refs/pull/** depends_on: -- verify +- test --- kind: pipeline @@ -540,6 +525,6 @@ depends_on: --- kind: signature -hmac: ecfe4ba74ed1fcc1e558757e4f63266ef7b43ea2cf67a2dba6e77797178e70fb +hmac: fbfcb6fef59439df55b8f6cc3e49a8b913725b82f94c32dbde517faa03a1899e ...