remove unnecessary backup file

This commit is contained in:
Robert Kaussow 2019-02-25 18:48:39 +01:00
parent 6e16426709
commit 58c926b69c

View File

@ -1,153 +0,0 @@
---
kind: pipeline
name: default
steps:
- name: test2.7
image: python:2.7-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- pip install tox -q
- tox -e $(tox -l | grep py27 | xargs | sed 's/ /,/g') -q
when:
event:
- push
- tag
- name: test3.5
image: python:3.5-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- pip install tox -q
- tox -e $(tox -l | grep py35 | xargs | sed 's/ /,/g') -q
when:
event:
- push
- tag
- name: test3.6
image: python:3.6-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- pip install tox -q
- tox -e $(tox -l | grep py36 | xargs | sed 's/ /,/g') -q
when:
event:
- push
- tag
- name: test3.7
image: python:3.7-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- pip install tox -q
- tox -e $(tox -l | grep py37 | xargs | sed 's/ /,/g') -q
when:
event:
- push
- tag
- name: build
image: python:3.7-alpine
pull: true
commands:
- python setup.py sdist bdist_wheel
when:
event:
- push
- tag
depends_on:
- test2.7
- test3.5
- test3.6
- test3.7
- name: checksum
image: alpine
pull: always
commands:
- apk add --no-cache coreutils
# exclude files
# - sha256sum -b files/!(*.out) > CHECKSUMFILE
- sha256sum -b dist/* > sha256sum.txt
depends_on:
- build
when:
event:
- push
- tag
- name: gpgsign
image: plugins/gpgsign:1
pull: always
settings:
key:
from_secret: gpgsign_key
passphrase:
from_secret: gpgsign_passphrase
detach_sign: true
files:
- dist/*
depends_on:
- checksum
when:
event:
- push
- tag
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files:
- dist/*
- sha256sum.txt
title: $${DRONE_TAG}
note: CHANGELOG.md
depends_on:
- gpgsign
when:
event:
- tag
- name: pypi_publish
image: xoxys/drone-pypi:0.1.0
pull: always
settings:
username:
from_secret: pypi_username
password:
from_secret: pypi_password
repository: https://upload.pypi.org/legacy/
skip_build: true
depends_on:
- publish
when:
event:
- tag
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.rknet.org
roomid: MtidqQXWWAtQcByBhH:rknet.org
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
password:
from_secret: matrix_password
depends_on:
- pypi_publish
when:
status:
- success
- failure