Commit f6914236 authored by Stefan Behnel's avatar Stefan Behnel

try fixing travix build by not using sudo if we don't have it available

parent 61cf6216
......@@ -32,11 +32,6 @@ branches:
only:
- master
before_install:
- sudo apt-get update
- sudo apt-get install gdb python$( python -c 'import sys; print("%d.%d" % sys.version_info[:2])' )-dbg || true
- dpkg -l gdb || true
install:
- CFLAGS="-O2 -ggdb -Wall -Wextra $(python -c 'import sys; print("-fno-strict-aliasing" if sys.version_info[0] == 2 else "")')" python setup.py build
......@@ -58,3 +53,10 @@ matrix:
env: BACKEND=cpp
- python: pypy3
env: BACKEND=cpp
addons:
apt:
packages:
- gdb
- python-dbg
- python3-dbg
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