Skip to content

Commit

Permalink
new: Migration
Browse files Browse the repository at this point in the history
  • Loading branch information
anyrepo committed Oct 12, 2019
1 parent 96fe48f commit ff0e08b
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 16 deletions.
38 changes: 38 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
kind: pipeline
type: docker
name: tests

steps:
- name: tests
image: python:3
commands:
- pip install -r REQUIREMENTS.txt
- pip install pytest flake8
- python -m pytest -vv tests
- flake8

---
kind: pipeline
type: docker
name: docs

steps:
- name: build
image: python:3
commands:
- pip install -U sphinx
- cd docs
- make html

- name: push
image: alpine:latest
commands:
- apk add -U openssh-client sshpass
- sshpass -e scp -r -o StrictHostKeyChecking=no docs/_build/html/* [email protected]:www/pybeeryaml
environment:
SSHPASS:
from_secret: dronessh

when:
branch:
- master
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pybeeryaml
==========

|version| |license| |travis|
|version| |license| |drone|

A YAML format parser for beer storage

Expand Down Expand Up @@ -48,4 +48,4 @@ Unit tests can be run with `pytest <https://docs.pytest.org/en/latest/>`_.
.. |version| image:: https://img.shields.io/pypi/v/pybeeryaml.svg
.. |license| image:: https://img.shields.io/github/license/j0ack/pybeeryaml.svg
.. |travis| image:: https://img.shields.io/travis/j0ack/pybeeryaml.svg
.. |travis| image:: https://drone.joakode.fr/api/badges/joack/pybeeryaml/status.svg
5 changes: 2 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PyBeerYAML
==========

|pyversion| |version| |license| |travis|
|pyversion| |version| |license| |drone|

A Python YAML format parser for beer storage.

Expand All @@ -27,5 +27,4 @@ http://beeryaml.rtfd.io/
:target: https://pypi.python.org/pypi/pybeeryaml/
.. |license| image:: https://img.shields.io/github/license/j0ack/pybeeryaml.svg
:target: https://www.gnu.org/licenses/gpl-3.0.txt
.. |travis| image:: https://img.shields.io/travis/j0ack/pybeeryaml.svg
:target: https://travis-ci.org/j0ack/pybeeryaml
.. |drone| image:: https://drone.joakode.fr/api/badges/joack/pybeeryaml/status.svg

0 comments on commit ff0e08b

Please sign in to comment.