diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml new file mode 100644 index 0000000..0e5932f --- /dev/null +++ b/.github/workflows/pythonpackage.yml @@ -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) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 37b6f37..0000000 --- a/.travis.yml +++ /dev/null @@ -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) diff --git a/README.rst b/README.rst index 48f0f9c..6833978 100644 --- a/README.rst +++ b/README.rst @@ -70,8 +70,8 @@ License ------- Licensed under the terms of the `Apache License, Version 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