From 9bbc453c81face468217bc7fc2e3a052c8276057 Mon Sep 17 00:00:00 2001 From: Andrey Kolkov Date: Thu, 4 Mar 2021 16:57:56 +0400 Subject: [PATCH] Switched travis-ci to GH actions --- .github/workflows/test.yml | 21 +++++++++++++++++++++ .travis.yml | 9 --------- setup.py | 9 ++++----- 3 files changed, 25 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c174494 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Python + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8, 3.9] + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: make deps + - name: Test + run: make test \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c67f04e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: python -python: - - "2.7" - - "3.4" - - "3.5" - - "3.6" - - "3.7" -install: make deps -script: make test diff --git a/setup.py b/setup.py index 45e2b3d..c1d38be 100644 --- a/setup.py +++ b/setup.py @@ -25,12 +25,11 @@ classifiers=[ 'Development Status :: 4 - Beta', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Operating System :: OS Independent', 'Intended Audience :: Developers',