diff --git a/.drone.jsonnet b/.drone.jsonnet index 5e4b65a..51658e9 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -5,9 +5,8 @@ local PythonVersion(pyversion='3.5') = { PY_COLORS: 1, }, commands: [ - 'pip install pipenv -qq', - 'pipenv install --dev --keep-outdated', - 'pipenv run docker-tidy --help', + 'pip install .', + 'docker-tidy --help', ], depends_on: [ 'clone', @@ -72,7 +71,7 @@ local PipelineDeps = { local PipelineTest = { kind: 'pipeline', - name: 'test', + name: 'verify', platform: { os: 'linux', arch: 'amd64', @@ -113,7 +112,7 @@ local PipelineSecurity = { }, ], depends_on: [ - 'test', + 'verify', ], trigger: { ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], diff --git a/.drone.yml b/.drone.yml index 2f617f8..2c3acbb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -52,7 +52,7 @@ depends_on: --- kind: pipeline -name: test +name: verify platform: os: linux @@ -62,9 +62,8 @@ steps: - name: python35-pytest image: python:3.5 commands: - - pip install pipenv -qq - - pipenv install --dev --keep-outdated - - pipenv run docker-tidy --help + - pip install . + - docker-tidy --help environment: PY_COLORS: 1 depends_on: @@ -73,9 +72,8 @@ steps: - name: python36-pytest image: python:3.6 commands: - - pip install pipenv -qq - - pipenv install --dev --keep-outdated - - pipenv run docker-tidy --help + - pip install . + - docker-tidy --help environment: PY_COLORS: 1 depends_on: @@ -84,9 +82,8 @@ steps: - name: python37-pytest image: python:3.7 commands: - - pip install pipenv -qq - - pipenv install --dev --keep-outdated - - pipenv run docker-tidy --help + - pip install . + - docker-tidy --help environment: PY_COLORS: 1 depends_on: @@ -95,9 +92,8 @@ steps: - name: python38-pytest image: python:3.8 commands: - - pip install pipenv -qq - - pipenv install --dev --keep-outdated - - pipenv run docker-tidy --help + - pip install . + - docker-tidy --help environment: PY_COLORS: 1 depends_on: @@ -137,7 +133,7 @@ trigger: - refs/pull/** depends_on: -- test +- verify --- kind: pipeline @@ -486,6 +482,6 @@ depends_on: --- kind: signature -hmac: 6895442dc05e0774292f058639bc483ca93f5404107e5294209d38ae894936a9 +hmac: 54ee5fed7470d61a767d1d774adb82c1eeda89ec78efcfeec59557202303a405 ...