Skip to content

Commit 49bd7cb

Browse files
committed
Use faulthandler in CI.
1 parent 4753f6c commit 49bd7cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ env:
6060
- NPROC=2
6161
- RUN_PEP8=
6262
- PYTEST_ARGS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
63-
- PYTHON_ARGS=
63+
- PYTHONFAULTHANDLER=1
64+
- PYTHONOPTIMIZE=
6465
- DELETE_FONT_CACHE=
6566

6667
matrix:
@@ -79,7 +80,7 @@ matrix:
7980
- PYTEST_COV=pytest-cov==2.3.1
8081
- SPHINX=sphinx==1.3
8182
- python: 3.4
82-
env: PYTHON_ARGS=-OO
83+
# env: PYTHONOPTIMIZE=2 # Needs to be restored but currently breaks tests.
8384
- python: 3.6
8485
env: DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_PEP8=pytest-pep8 RUN_PEP8=--pep8
8586
- python: "nightly"

0 commit comments

Comments
 (0)