From 27cd79d20fb76d9ca2d4bbc3675379aa07d9f17b Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Fri, 8 Sep 2023 07:50:22 -0700 Subject: [PATCH] Remove old travis references (#682) --- .travis.yml | 89 -------------------------------------- README.rst | 10 ++--- doc/source/dev/testing.rst | 12 +++-- 3 files changed, 10 insertions(+), 101 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ed3cb52d..00000000 --- a/.travis.yml +++ /dev/null @@ -1,89 +0,0 @@ -# After changing this file, check it on: -# http://lint.travis-ci.org/ -language: python -dist: xenial -os: linux - -env: - global: - # Use non-interactive backend - - MPLBACKEND: Agg - - CYTHON_TRACE: 1 - - NUMPYSPEC=numpy - - MATPLOTLIBSPEC=matplotlib - - CYTHONSPEC=cython - -jobs: - include: - - arch: arm64 - os: linux - python: 3.7 - dist: bionic # travis-ci/travis-ci/issues/9815 - env: - - NUMPYSPEC=numpy - - MATPLOTLIBSPEC=matplotlib - - CYTHONSPEC=cython - - USE_SDIST=1 -cache: pip - -before_install: - - uname -a - - df -h - - ulimit -a - - ccache -s - - which python; python --version - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libatlas-base-dev; fi - - pip install --upgrade pip wheel setuptools - # Set numpy version first, other packages link against it - - pip install $NUMPYSPEC - - pip install $MATPLOTLIBSPEC - - pip install $CYTHONSPEC - - pip install pytest pytest-cov coverage codecov - - set -o pipefail - - if [ "${USE_WHEEL}" == "1" ]; then pip install wheel; fi - - if [ "${USE_SCIPY}" == "1" ]; then pip install scipy; fi - - | - if [ "${REFGUIDE_CHECK}" == "1" ]; then - pip install sphinx numpydoc - fi - -script: - # Define a fixed build dir so next step works - - | - if [ "${USE_WHEEL}" == "1" ]; then - # Need verbose output or TravisCI will terminate after 10 minutes - pip wheel . -v - pip install PyWavelets*.whl -v - pushd demo - pytest --pyargs pywt - if [[ "${TRAVIS_CPU_ARCH}" != "arm64" ]]; then - python ../pywt/tests/test_doc.py; - fi - popd - elif [ "${USE_SDIST}" == "1" ]; then - python setup.py sdist - # Move out of source directory to avoid finding local pywt - pushd dist - pip install PyWavelets* -v - pytest --pyargs pywt - if [[ "${TRAVIS_CPU_ARCH}" != "arm64" ]]; then - python ../pywt/tests/test_doc.py; - fi - popd - elif [ "${REFGUIDE_CHECK}" == "1" ]; then - pip install -e . -v - python util/refguide_check.py --doctests - else - CFLAGS="--coverage" python setup.py build --build-lib build/lib/ --build-temp build/tmp/ - CFLAGS="--coverage" pip install -e . -v - pushd demo - pytest --pyargs pywt --cov=pywt --cov-config=../.coveragerc - cp .coverage .. - popd - fi - -after_success: - - codecov - # Travis CI has old gcov, needs object dir explicitly specified - - gcov --object-directory build/tmp/pywt/_extensions/c/ build/tmp/pywt/_extensions/c/*.o - - bash <(curl -s https://codecov.io/bash) diff --git a/README.rst b/README.rst index 1c3310f1..79f24f58 100644 --- a/README.rst +++ b/README.rst @@ -1,17 +1,17 @@ +---------------+-----------------+ | Service | Master branch | +===============+=================+ -| Travis | |travis_ci| | +| GitHub | |ghactions_ci| | +---------------+-----------------+ | Appveyor | |appveyor_ci| | +---------------+-----------------+ | Read the Docs | |read_the_docs| | +---------------+-----------------+ -.. |travis_ci| image:: https://api.travis-ci.org/PyWavelets/pywt.svg?branch=master - :align: middle - :target: https://travis-ci.org/PyWavelets/pywt - :alt: TravisCI Status + +.. |ghactions_ci| image:: https://github.com/PyWavelets/pywt/actions/workflows/tests.yml/badge.svg?branch=master + :alt: Build Status + :target: https://github.com/PyWavelets/pywt/actions/workflows/tests.yml?query=branch%3Amaster .. |appveyor_ci| image:: https://ci.appveyor.com/api/projects/status/github/PyWavelets/pywt :align: middle diff --git a/doc/source/dev/testing.rst b/doc/source/dev/testing.rst index e2a4a7dd..ae54e4b7 100644 --- a/doc/source/dev/testing.rst +++ b/doc/source/dev/testing.rst @@ -3,18 +3,16 @@ Testing ======= -Continuous integration with Travis-CI ------------------------------------- +Continuous integration with GitHub Actions +------------------------------------------ -The project is using `Travis-CI `_ service -for continuous integration and testing. +The project is using GitHub Actions for continuous integration and testing. Current build status is: -.. image:: - https://secure.travis-ci.org/PyWavelets/pywt.png?branch=master +.. image:: https://github.com/PyWavelets/pywt/actions/workflows/tests.yml/badge.svg?branch=master :alt: Build Status - :target: https://secure.travis-ci.org/PyWavelets/pywt + :target: https://github.com/PyWavelets/pywt/actions/workflows/tests.yml?query=branch%3Amaster If you are submitting a patch or pull request please make sure it does not break the build.