From 51da5eacf1598f05be10c640a305c6cea340bd08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com>
Date: Tue, 9 Apr 2024 08:52:51 +0200
Subject: [PATCH] tests for all versions of Python support is claimed for

---
 .github/workflows/ci.yml | 22 ++++++++++++++++++++++
 .travis.yml              | 28 ----------------------------
 CHANGELOG.md             |  3 ++-
 setup.cfg                |  6 ++++--
 4 files changed, 28 insertions(+), 31 deletions(-)
 create mode 100644 .github/workflows/ci.yml
 delete mode 100644 .travis.yml

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..3170a31
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,22 @@
+name: CI
+run-name: ${{ github.actor }}
+on: [ push ]
+jobs:
+  tests:
+    runs-on: ubuntu-20.04
+    strategy:
+      matrix:
+        python-version: [ "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
+    steps:
+      - uses: actions/checkout@main
+      - uses: actions/setup-python@main
+        with:
+          python-version: ${{ matrix.python-version }}
+          cache: pip
+      - name: Install everything
+        run: |
+          pip install -U pip setuptools wheel disttools packaging pyproject.toml
+      - name: Test
+        run: python setup.py test
+        env:
+          DEBUG: "1""
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 4f197f2..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-language: python
-stages:
-  - name: test
-  - name: deploy
-    if: tag is present
-cache: pip
-before_script:
-  - python setup.py install
-script:
-  - cd example
-  - DEBUG=1 python setup.py test
-jobs:
-  include:
-    - stage: test
-      python: "3.5"
-    - stage: test
-      python: "3.8"
-    - stage: test
-      python: "3.9"
-    - stage: test
-      python: "pypy3.5"
-    - stage: deploy
-      python: "3.8"
-      script:
-        - pip install wheel twine
-        - python setup.py bdist bdist_wheel
-        - twine upload -u $PYPI_USER -p $PYPI_PWD dist/*
-
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 44bfb9e..45c8665 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
 # v1.6
 
-* _TBA_
+* certified for Python 3.11 and 3.12
+* CI moved to GitHub Actions
 
 # v1.5
 
diff --git a/setup.cfg b/setup.cfg
index 0eeccfb..8ef9bfc 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,12 +2,12 @@
 [metadata]
 name = snakehouse
 keywords = cython, extension, multiple, pyx
-version = 1.6a1
+version = 1.6a2
 long-description = file: README.md
 long-description-content-type = text/markdown; charset=UTF-8
 license_files = LICENSE
 author = Piotr Maślanka
-author_email = piotrm@smok.co
+author_email = pmaslanka@smok.co
 description = Utilities for packing multiple pyx files into a single Cython extension
 url = https://github.com/smok-serwis/snakehouse
 project-urls =
@@ -21,6 +21,8 @@ classifier =
     Programming Language :: Python :: 3.8
     Programming Language :: Python :: 3.9
     Programming Language :: Python :: 3.10
+    Programming Language :: Python :: 3.11
+    Programming Language :: Python :: 3.12
     Programming Language :: Python :: Implementation :: CPython
     Operating System :: OS Independent
     Development Status :: 5 - Production/Stable
-- 
GitLab