File tree 5 files changed +69
-289
lines changed
5 files changed +69
-289
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ language : python
2
+ dist : xenial
3
+ python : ' 3.7.4'
4
+ cache : false
5
+
6
+ env :
7
+ global :
8
+ - PYTEST_ADDOPTS="-vv --showlocals --durations=100 --exitfirst"
9
+ - PYTEST_COVERAGE=1
10
+
11
+ # setuptools-scm needs all tags in order to obtain a proper version
12
+ git :
13
+ depth : false
14
+
15
+ install :
16
+ - python -m pip install --upgrade --pre tox
17
+
18
+ jobs :
19
+ include :
20
+ # Coverage for:
21
+ # - TestArgComplete (linux only)
22
+ # - numpy
23
+ # - verbose=0
24
+ # - test_sys_breakpoint_interception (via pexpect).
25
+ - stage : baseline
26
+ env : TOXENV=py38-xdist
27
+ python : ' 3.8'
28
+
29
+ - env : TOXENV=py27-xdist
30
+ python : ' 2.7'
31
+
32
+ - stage : tests
33
+ env : TOXENV=py37-numpy-pexpect-twisted
34
+ python : ' 3.7.4'
35
+
36
+ - env : TOXENV=py36-xdist PYTEST_REORDER_TESTS=0
37
+ python : ' 3.6.9'
38
+
39
+ - env : TOXENV=py35-xdist
40
+ python : ' 3.5.9'
41
+
42
+ - env : TOXENV=linting,docs,doctesting
43
+ cache :
44
+ directories :
45
+ - $HOME/.cache/pre-commit
46
+
47
+ before_script :
48
+ - |
49
+ # Do not (re-)upload coverage with cron runs.
50
+ if [[ "$TRAVIS_EVENT_TYPE" = cron ]]; then
51
+ PYTEST_COVERAGE=0
52
+ fi
53
+ - |
54
+ if [[ "$PYTEST_COVERAGE" = 1 ]]; then
55
+ export COVERAGE_FILE="$PWD/.coverage"
56
+ export COVERAGE_PROCESS_START="$PWD/.coveragerc"
57
+ export _PYTEST_TOX_COVERAGE_RUN="coverage run -m"
58
+ export _PYTEST_TOX_EXTRA_DEP=coverage-enable-subprocess
59
+ fi
60
+ script : env COLUMNS=120 python -m tox
61
+
62
+ after_success :
63
+ - |
64
+ if [[ "$PYTEST_COVERAGE" = 1 ]]; then
65
+ env CODECOV_NAME="$TOXENV-$TRAVIS_OS_NAME" scripts/report-coverage.sh
66
+ fi
67
+ branches :
68
+ only :
69
+ - 4.6.x
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ changedir = testing/freeze
119
119
# Disable PEP 517 with pip, which does not work with PyInstaller currently.
120
120
deps =
121
121
pyinstaller
122
- setuptools < 45.0.0
123
122
commands =
124
123
{envpython} create_executable.py
125
124
{envpython} tox_run.py
You can’t perform that action at this time.
0 commit comments