From 0140d981463b27500ffed848a9a7adfa89902e3d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 5 May 2022 20:58:24 +0300 Subject: [PATCH 1/2] Remove Travis CI in favour of GitHub Actions --- .travis.yml | 25 ------------------------- CONTRIBUTING.rst | 2 +- README.rst | 5 ++--- 3 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d2d9e30e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: python -python: - - "pypy3" - - "pypy" - - "3.8" - - "3.7" - - "3.6" - - "3.5" - - "2.7" - - "3.9-dev" - -cache: pip - -env: - global: - - TOXENV=base,optional,six19-optional - -install: - - pip install tox - -script: - - tox - -after_script: - - python debug-info.py diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 8c5e1985..dba35216 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -16,7 +16,7 @@ documentation. Some useful information: - We keep the master branch passing all tests at all times on all supported versions. -`Travis CI `_ is run +`GitHub Actions `_ is run against all pull requests and should enforce all of the above. We use `Opera Critic `_ as an external diff --git a/README.rst b/README.rst index d367905d..5c4f732d 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,8 @@ html5lib ======== -.. image:: https://travis-ci.org/html5lib/html5lib-python.svg?branch=master - :target: https://travis-ci.org/html5lib/html5lib-python - +.. image:: https://github.com/html5lib/html5lib-python/actions/workflows/python-tox.yml/badge.svg + :target: https://github.com/html5lib/html5lib-python/actions/workflows/python-tox.yml html5lib is a pure-python library for parsing HTML. It is designed to conform to the WHATWG HTML specification, as is implemented by all major From f135e936513ef39e620ea3ec32aefcf7ccdb65b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Wed, 1 Mar 2023 14:03:20 +0100 Subject: [PATCH 2/2] Remove 3.6 and 3.7 from GHA since they are no longer available --- .github/workflows/python-tox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-tox.yml b/.github/workflows/python-tox.yml index 78f7fdc3..0e3e46db 100644 --- a/.github/workflows/python-tox.yml +++ b/.github/workflows/python-tox.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-2.7", "pypy-3.8"] + python: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-2.7", "pypy-3.8"] steps: - uses: actions/checkout@v3 with: