From 92ca4fa0486a8b02af7fb63311c7df8a9e7be935 Mon Sep 17 00:00:00 2001 From: 3rdvision Date: Thu, 4 May 2023 18:21:11 +0100 Subject: [PATCH 1/3] chore: remove travis --- .travis.yml | 25 ------------------------- CHANGELOG.md | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a7477c0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -dist: trusty -language: python -python: - - "2.7" - - "3.4" - - "3.5" - - "3.6" - - "pypy3" -matrix: - include: - - python: 3.8 - dist: xenial - - python: 3.9 - dist: xenial - - python: pypy - dist: xenial - - python: pypy3 - dist: xenial -before_install: - - pip install --upgrade pip setuptools -install: - - pip install -r requirements.txt - - if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls; fi -script: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run --source=ripe --omit="src/ripe/test/*" setup.py test; else python setup.py test; fi -after_success: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coveralls; fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3310a..81ada33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -* +* Remove Travis CI - [products/#97](https://github.com/ripe-tech/products/issues/97) ### Fixed From f130895bfba84690bc3ec68369ab3650236a341f Mon Sep 17 00:00:00 2001 From: 3rdvision Date: Mon, 8 May 2023 10:42:56 +0100 Subject: [PATCH 2/3] chore: coverage coveralls in main workflow --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 76ad74a..9190ccd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,3 +22,10 @@ jobs: black . --check --config ./pyproject.toml if: matrix.python-version != '2.7' && matrix.python-version != '3.5' - run: python setup.py test + - run: | + pip install coveralls + coverage run --source=ripe --omit="src/ripe/test/*" setup.py test + coveralls + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} From 10adca46a02e79f4a3c48c18c07fb9fada53d52b Mon Sep 17 00:00:00 2001 From: 3rdvision Date: Mon, 8 May 2023 10:48:49 +0100 Subject: [PATCH 3/3] chore: conditional coveralls --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9190ccd..463746c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,7 @@ jobs: pip install coveralls coverage run --source=ripe --omit="src/ripe/test/*" setup.py test coveralls + if: matrix.python-version != '2.7' && matrix.python-version != '3.5' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}