summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAmmar Askar <ammar@ammaraskar.com>2021-04-30 21:04:40 (GMT)
committerGitHub <noreply@github.com>2021-04-30 21:04:40 (GMT)
commit726c931b3896dc73fd156e2340b5ef0b8f55cfb7 (patch)
treed2f5149557006fbb31cdd050d4ad6dfd981b0922 /.travis.yml
parent6143fcdf8bfe54c24e3081bcee423f4d51f35c4e (diff)
downloadcpython-726c931b3896dc73fd156e2340b5ef0b8f55cfb7.zip
cpython-726c931b3896dc73fd156e2340b5ef0b8f55cfb7.tar.gz
cpython-726c931b3896dc73fd156e2340b5ef0b8f55cfb7.tar.bz2
bpo-43888: Remove coverage builds from CI (GH-25679)
The coverage builds were consistently timing out in CI, suggesting that people were not reviewing the uploaded reports.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml55
1 files changed, 0 insertions, 55 deletions
diff --git a/.travis.yml b/.travis.yml
index fc06321..1112a0b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -69,61 +69,6 @@ matrix:
- make -C Doc/ PYTHON=../python venv
script:
xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
- - name: "Test code coverage (Python)"
- os: linux
- language: c
- compiler: gcc
- env: OPTIONAL=true
- addons:
- apt:
- packages:
- - xvfb
- before_script:
- - |
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
- then
- echo "Don't run Python coverage on pull requests."
- exit
- fi
- - ./configure
- - make -j4
- # Need a venv that can parse covered code.
- - ./python -m venv venv
- - ./venv/bin/python -m pip install -U coverage
- - ./venv/bin/python -m pip install -r Misc/requirements-test.txt
- - ./venv/bin/python -m test.pythoninfo
- - export PYTHONPATH=`find venv -name fullcoverage`
- script:
- # Skip tests that re-run the entire test suite.
- - xvfb-run ./venv/bin/python -m coverage run --branch --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures || true
- after_script: # Probably should be after_success once test suite updated to run under coverage.py.
- # Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
- - export PYTHONPATH=
- - source ./venv/bin/activate
- - bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
- - name: "Test code coverage (C)"
- os: linux
- language: c
- compiler: gcc
- env: OPTIONAL=true
- addons:
- apt:
- packages:
- - lcov
- - xvfb
- before_script:
- - |
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
- then
- echo "Don't run C coverage on pull requests."
- exit
- fi
- - ./configure
- script:
- - xvfb-run make -j4 coverage-report
- after_script: # Probably should be after_success once test suite updated to run under coverage.py.
- - make pythoninfo
- - bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
before_install: