From 033a01333cf453ac6ab8f32d0251efc0354ed389 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Tue, 24 Sep 2019 18:35:53 +0530 Subject: [PATCH] Drop tox -e packaging from CIs --- .azure-pipelines/jobs/package.yml | 3 --- .github/workflows/python-linters.yml | 1 - .travis.yml | 1 - tools/travis/run.sh | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.azure-pipelines/jobs/package.yml b/.azure-pipelines/jobs/package.yml index ed885d8ef..5ab5be31f 100644 --- a/.azure-pipelines/jobs/package.yml +++ b/.azure-pipelines/jobs/package.yml @@ -24,9 +24,6 @@ jobs: - bash: nox -s generate_news -- --yes displayName: Generate NEWS.rst - - bash: tox -e packaging - displayName: Run Tox packaging - - bash: python setup.py sdist bdist_wheel displayName: Create sdist and wheel diff --git a/.github/workflows/python-linters.yml b/.github/workflows/python-linters.yml index e547acf11..99c632166 100644 --- a/.github/workflows/python-linters.yml +++ b/.github/workflows/python-linters.yml @@ -20,7 +20,6 @@ jobs: env: - TOXENV: docs - TOXENV: lint - - TOXENV: packaging steps: - uses: actions/checkout@master - name: Set up Python ${{ matrix.env.PYTHON_VERSION || 3.7 }} diff --git a/.travis.yml b/.travis.yml index 4005a83de..5ea346dac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,6 @@ jobs: - stage: primary env: TOXENV=docs - env: TOXENV=lint - - env: TOXENV=packaging # Latest CPython - env: GROUP=1 python: 2.7 diff --git a/tools/travis/run.sh b/tools/travis/run.sh index 3d64ec2bd..aea29349c 100755 --- a/tools/travis/run.sh +++ b/tools/travis/run.sh @@ -2,7 +2,7 @@ set -e # Short circuit test runs if there are no code changes involved. -if ! [[ $TOXENV ~= ^(docs|lint|packaging)$ ]]; then +if [[ $TOXENV != docs ]] || [[ $TOXENV != lint ]]; then if [[ "$TRAVIS_PULL_REQUEST" == "false" ]] then echo "This is not a PR -- will do a complete build."