From 084aaf5aceef75ccbea247bf779c92ecb24f2e67 Mon Sep 17 00:00:00 2001 From: Brian Muller Date: Mon, 12 Apr 2021 11:57:43 -0400 Subject: [PATCH] Remove Travis / add Github action (#97) * testing * removed travis --- .github/workflows/ci.yml | 5 +++-- .travis.yml | 9 --------- README.md | 2 +- dev-requirements.txt | 1 + 4 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c085eb..df53060 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.5', '3.8', '3.9', 'pypy-3.9'] + python-version: ['3.6', '3.8', '3.9'] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: 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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index de5c26d..0000000 --- a/.travis.yml +++ /dev/null @@ -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 diff --git a/README.md b/README.md index e60c152..44734d2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # 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) [![Coverage Status](https://coveralls.io/repos/github/bmuller/twistar/badge.svg?branch=master)](https://coveralls.io/github/bmuller/twistar?branch=master) diff --git a/dev-requirements.txt b/dev-requirements.txt index dbb3efc..a1eb771 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -4,3 +4,4 @@ sphinx>=3.0.3 pytest>=5.4.1 pytest-asyncio>=0.11.0 pytest-cov>=2.8.1 +wheel>=0.36.2