@@ -69,61 +69,6 @@ matrix:
69
69
- make -C Doc/ PYTHON=../python venv
70
70
script :
71
71
xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
72
- - name : " Test code coverage (Python)"
73
- os : linux
74
- language : c
75
- compiler : gcc
76
- env : OPTIONAL=true
77
- addons :
78
- apt :
79
- packages :
80
- - xvfb
81
- before_script :
82
- - |
83
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
84
- then
85
- echo "Don't run Python coverage on pull requests."
86
- exit
87
- fi
88
- - ./configure
89
- - make -j4
90
- # Need a venv that can parse covered code.
91
- - ./python -m venv venv
92
- - ./venv/bin/python -m pip install -U coverage
93
- - ./venv/bin/python -m pip install -r Misc/requirements-test.txt
94
- - ./venv/bin/python -m test.pythoninfo
95
- - export PYTHONPATH=`find venv -name fullcoverage`
96
- script :
97
- # Skip tests that re-run the entire test suite.
98
- - 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
99
- after_script : # Probably should be after_success once test suite updated to run under coverage.py.
100
- # Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
101
- - export PYTHONPATH=
102
- - source ./venv/bin/activate
103
- - bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
104
- - name : " Test code coverage (C)"
105
- os : linux
106
- language : c
107
- compiler : gcc
108
- env : OPTIONAL=true
109
- addons :
110
- apt :
111
- packages :
112
- - lcov
113
- - xvfb
114
- before_script :
115
- - |
116
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
117
- then
118
- echo "Don't run C coverage on pull requests."
119
- exit
120
- fi
121
- - ./configure
122
- script :
123
- - xvfb-run make -j4 coverage-report
124
- after_script : # Probably should be after_success once test suite updated to run under coverage.py.
125
- - make pythoninfo
126
- - bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
127
72
128
73
129
74
before_install :
0 commit comments