Commit 5f646451 authored by Stefan Behnel's avatar Stefan Behnel

do not fail the travis build if Python debug packages are missing

parent 04923e45
...@@ -15,12 +15,14 @@ branches: ...@@ -15,12 +15,14 @@ branches:
before_install: before_install:
- sudo apt-get update - sudo apt-get update
- sudo apt-get install gdb python`python -c 'import sys; print("%d.%d" % sys.version_info[:2])'`-dbg - sudo apt-get install gdb python$((python -c 'import sys; print("%d.%d" % sys.version_info[:2])'))-dbg || true
- dpkg -l | grep gdb - dpkg -l | grep gdb || true
install: pip install . install: pip install .
script: CFLAGS="-O0 -ggdb" python runtests.py -vv script:
- PYTHON="`python$((python -c 'import sys; print("%d.%d" % sys.version_info[:2])'))-dbg`"
- CFLAGS="-O0 -ggdb" $(($PYTHON -V >/dev/null && echo $PYTHON || echo python)) runtests.py -vv
matrix: matrix:
allow_failures: allow_failures:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment