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: ...@@ -32,11 +32,6 @@ branches:
only: only:
- master - 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: 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 - 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: ...@@ -58,3 +53,10 @@ matrix:
env: BACKEND=cpp env: BACKEND=cpp
- python: pypy3 - python: pypy3
env: BACKEND=cpp 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