From 13eaab909d3395e599d2ef1a7c0828451e78c7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Alexandre=20C=C3=B4t=C3=A9?= Date: Mon, 3 Nov 2025 05:29:10 -0800 Subject: [PATCH] Update CI --- .github/workflows/main.yml | 4 ++-- .readthedocs.yaml | 22 ++++++++++++++++++++++ .travis.yml | 18 ------------------ .travis/setup.sh | 13 ------------- .travis/test.sh | 9 --------- README.md | 10 +++++----- 6 files changed, 29 insertions(+), 47 deletions(-) create mode 100644 .readthedocs.yaml delete mode 100644 .travis.yml delete mode 100755 .travis/setup.sh delete mode 100755 .travis/test.sh diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 648ff570..04aaf549 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,8 +17,8 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python_version: ['3.12'] #['3.9', '3.10', '3.11', '3.12'] - compiler: ['clang', 'gcc', 'clang-15'] + python_version: ['3.12', '3.13'] + compiler: ['clang', 'gcc-12', 'gcc-14', 'clang-15'] exclude: - os: ubuntu-latest compiler: 'clang-15' diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..22cfb7e1 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version, and other tools you might need +build: + os: ubuntu-24.04 + tools: + python: "3.13" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Optionally, but recommended, +# declare the Python requirements required to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: docs/requirements.txt diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1df6db40..00000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -sudo: false - -language: python - -matrix: - include: - - os: linux - python: "3.5" - - os: linux - python: "3.6" - - os: osx - language: generic - -install: - - ./.travis/setup.sh - -script: - - ./.travis/test.sh diff --git a/.travis/setup.sh b/.travis/setup.sh deleted file mode 100755 index 6e0daa25..00000000 --- a/.travis/setup.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -e - -if [[ $TRAVIS_OS_NAME == "osx" ]]; then - pip3 install virtualenv - virtualenv -p python3 venv - . ./venv/bin/activate -fi - -pip install . -pip install nose coverage -python -m spacy download en_core_web_sm diff --git a/.travis/test.sh b/.travis/test.sh deleted file mode 100755 index 5e563ac2..00000000 --- a/.travis/test.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -set -e - -if [[ $TRAVIS_OS_NAME == "osx" ]]; then - . ./venv/bin/activate -fi - -nosetests -sv diff --git a/README.md b/README.md index c2bbdab3..6198b10a 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,11 @@

- - Documentation Status + + Documentation Status - - Build Status + + GitHub Actions Status PyPI version @@ -23,7 +23,7 @@
## Requirements -***Linux***, ***Python 3.9+***, ***Spacy***, and basic build tools like ***gcc***,***make*** & ***curl***. +***Linux***, ***Python 3.12+***, ***Spacy***, and basic build tools like ***gcc***,***make*** & ***curl***. ## Install ```bash