From 4f8fdbb1704fd786ac01b5340ab96f81b8482e92 Mon Sep 17 00:00:00 2001 From: mauricelanghinrichs Date: Wed, 15 Nov 2023 14:04:59 +0100 Subject: [PATCH] tests & readme | CI from travis to github workflow --- .travis.yml | 23 ----------------------- README.rst | 6 +++--- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 84d3bb0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -language: python -os: - - linux - # - osx # currently not supported by travis..., add another time again -python: - - "3.6" # current default Python on Travis CI - - "3.7" - - "3.8" - - "3.9" -# command to install dependencies -install: - - pip install -r requirements.txt - - pip install pytest-cov codecov - -# command to run tests -# --runslow is to run all tests -script: - - pytest --cov=memocell --runslow - -# this automatically reports to codecov, -# which create their README badge -after_success: - - codecov diff --git a/README.rst b/README.rst index 086826b..794d54f 100644 --- a/README.rst +++ b/README.rst @@ -6,9 +6,9 @@ :target: https://pypi.python.org/pypi/memocell :alt: Latest PyPI version -.. image:: https://travis-ci.com/mauricelanghinrichs/memocell.svg?branch=master - :target: https://travis-ci.com/mauricelanghinrichs/memocell - :alt: Latest Travis CI build status +.. image:: https://github.com/mauricelanghinrichs/memocell/actions/workflows/CI.yml/badge.svg + :target: https://github.com/mauricelanghinrichs/memocell/actions/workflows/CI.yml + :alt: Latest CI build status .. image:: https://codecov.io/gh/mauricelanghinrichs/memocell/branch/master/graph/badge.svg?token=feWWjm4Uow :target: https://codecov.io/gh/mauricelanghinrichs/memocell