Remove Travis / add Github action (#97)

* testing

* removed travis
This commit is contained in:
Brian Muller 2021-04-12 11:57:43 -04:00 committed by GitHub
parent 4f7959f73c
commit 084aaf5ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 12 deletions

View File

@ -6,11 +6,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.5', '3.8', '3.9', 'pypy-3.9'] python-version: ['3.6', '3.8', '3.9']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- run: pip install . && pip install -r dev-requirements.txt - run: pip install -r dev-requirements.txt
- run: pip install .
- run: pytest - run: pytest

View File

@ -1,9 +0,0 @@
language: python
python:
- "3.5"
- "3.6"
- "3.7"
dist:
- xenial
install: pip install . && pip install -r dev-requirements.txt
script: pytest

View File

@ -1,5 +1,5 @@
# Python Distributed Hash Table # Python Distributed Hash Table
[![Build Status](https://secure.travis-ci.org/bmuller/kademlia.png?branch=master)](https://travis-ci.org/bmuller/kademlia) [![Build Status](https://github.com/bmuller/kademlia/actions/workflows/ci.yml/badge.svg)](https://github.com/bmuller/kademlia/actions/workflows/ci.yml)
[![Docs Status](https://readthedocs.org/projects/kademlia/badge/?version=latest)](http://kademlia.readthedocs.org) [![Docs Status](https://readthedocs.org/projects/kademlia/badge/?version=latest)](http://kademlia.readthedocs.org)
[![Coverage Status](https://coveralls.io/repos/github/bmuller/twistar/badge.svg?branch=master)](https://coveralls.io/github/bmuller/twistar?branch=master) [![Coverage Status](https://coveralls.io/repos/github/bmuller/twistar/badge.svg?branch=master)](https://coveralls.io/github/bmuller/twistar?branch=master)

View File

@ -4,3 +4,4 @@ sphinx>=3.0.3
pytest>=5.4.1 pytest>=5.4.1
pytest-asyncio>=0.11.0 pytest-asyncio>=0.11.0
pytest-cov>=2.8.1 pytest-cov>=2.8.1
wheel>=0.36.2