Skip to content

Commit 35b0997

Browse files
committed
deploy with github too
- remove travis stuff
1 parent 8971d59 commit 35b0997

File tree

4 files changed

+29
-39
lines changed

4 files changed

+29
-39
lines changed

.github/workflows/python-ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,30 @@ jobs:
6767
run: |
6868
make coverage
6969
coveralls
70+
71+
deploy:
72+
if: startsWith(github.ref, 'refs/tags/') && github.ref_type == 'tag'
73+
runs-on: ubuntu-latest
74+
needs:
75+
- build
76+
- coverage
77+
78+
steps:
79+
- name: Checkout repository
80+
uses: actions/checkout@v3
81+
82+
- name: Set up Python
83+
uses: actions/setup-python@v4
84+
with:
85+
python-version: 3.12
86+
87+
- name: Install Poetry
88+
run: |
89+
python -m pip install --upgrade pip
90+
pip install poetry
91+
poetry config http-basic.pypi __token__ ${{ secrets.PYPI_PASSWORD }}
92+
93+
- name: Publish to PyPI
94+
env:
95+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
96+
run: make publish

.travis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pyasice - ASiC-E (BDOC) and XAdES Manipulation Library
22

33
[![pypi Package](https://badge.fury.io/py/pyasice.png)](https://badge.fury.io/py/pyasice)
4-
[![Build Status](https://app.travis-ci.com/thorgate/pyasice.svg?branch=main)](https://app.travis-ci.com/thorgate/pyasice)
4+
[![Python CI](https://github.com/thorgate/pyasice/actions/workflows/python-ci.yml/badge.svg)](https://github.com/thorgate/pyasice/actions/workflows/python-ci.yml)
55
[![Coverage Status](https://coveralls.io/repos/github/thorgate/pyasice/badge.svg?branch=main)](https://coveralls.io/github/thorgate/pyasice?branch=main)
66

77
The `pyasice` library is designed to:

pyasice/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
# simply: except pyasice.Error
1919
Error = PyAsiceError
2020

21-
__version__ = "1.1.0"
21+
__version__ = "1.2.0"

0 commit comments

Comments
 (0)