Switch to github actions
parent
f814088b6a
commit
b6d74a46e0
|
@ -0,0 +1,27 @@
|
|||
name: Python package
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
max-parallel: 4
|
||||
matrix:
|
||||
python-version: [3.5, 3.6, 3.7]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install codecov wheel cryptography
|
||||
pip install .
|
||||
- name: Test
|
||||
run: |
|
||||
make test
|
||||
bash <(curl -s https://codecov.io/bash)
|
22
.travis.yml
22
.travis.yml
|
@ -1,22 +0,0 @@
|
|||
language: python
|
||||
python:
|
||||
- 3.4
|
||||
- 3.5
|
||||
- 3.6
|
||||
- 3.7
|
||||
- nightly
|
||||
|
||||
dist: trusty
|
||||
sudo: false
|
||||
|
||||
before_install:
|
||||
- pip install --quiet codecov wheel cryptography
|
||||
|
||||
install:
|
||||
- make install
|
||||
|
||||
script:
|
||||
- make test
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
|
@ -70,8 +70,8 @@ License
|
|||
-------
|
||||
Licensed under the terms of the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.
|
||||
|
||||
.. image:: https://travis-ci.org/kislyuk/requests-http-signature.png
|
||||
:target: https://travis-ci.org/kislyuk/requests-http-signature
|
||||
.. image:: https://github.com/pyauth/requests-http-signature/workflows/Python%20package/badge.svg
|
||||
:target: https://github.com/pyauth/requests-http-signature/actions
|
||||
.. image:: https://codecov.io/github/kislyuk/requests-http-signature/coverage.svg?branch=master
|
||||
:target: https://codecov.io/github/kislyuk/requests-http-signature?branch=master
|
||||
.. image:: https://img.shields.io/pypi/v/requests-http-signature.svg
|
||||
|
|
Loading…
Reference in New Issue