summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-03-05 10:10:43 -0500
committergumi <git@gumi.ca>2018-03-05 10:10:43 -0500
commit18bbcfaa7b74bcffc02dc9bd576230f17e90aeea (patch)
tree17ae2d7ca820bd48ffe8ac2a79b93c7920fb359f
parent57a3be05f89df9c1995191eec0e80df8b714b005 (diff)
downloadtmwa-18bbcfaa7b74bcffc02dc9bd576230f17e90aeea.tar.gz
tmwa-18bbcfaa7b74bcffc02dc9bd576230f17e90aeea.tar.bz2
tmwa-18bbcfaa7b74bcffc02dc9bd576230f17e90aeea.tar.xz
tmwa-18bbcfaa7b74bcffc02dc9bd576230f17e90aeea.zip
force gcc builds to run with sudo
-rw-r--r--.travis.yml29
1 files changed, 14 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index 9537d8e..f3d0fc6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,6 +72,7 @@ matrix:
- gdb
- compiler: gcc
env: REAL_CC=gcc-5 REAL_CXX=g++-5 LDFLAGS="-fuse-ld=gold"
+ sudo: true
addons:
apt:
sources:
@@ -84,6 +85,7 @@ matrix:
- gdb
- compiler: gcc
env: REAL_CC=gcc-6 REAL_CXX=g++-6 LDFLAGS="-fuse-ld=gold"
+ sudo: true
addons:
apt:
sources:
@@ -94,21 +96,18 @@ matrix:
- libgtest-dev
- valgrind
- gdb
- # Can't use valgrind and asan at the same time.
- # Should probably fix the test leaks though.
- # Nevermind: we can't use asan without sudo anymore: travis no longer allows disabling ASLR
- #- compiler: gcc
- # env: REAL_CC=gcc-5 REAL_CXX=g++-5 REAL_EXTRA=-fsanitize=address FORCE_TESTER='' ASAN_OPTIONS=detect_leaks=0 LDFLAGS="-fuse-ld=gold"
- # addons:
- # apt:
- # sources:
- # - ubuntu-toolchain-r-test
- # packages:
- # - g++-5
- # - libstdc++6-5-dbg
- # - libgtest-dev
- # # - valgrind
- # - gdb
+ - compiler: gcc
+ env: REAL_CC=gcc-6 REAL_CXX=g++-6 REAL_EXTRA=-fsanitize=address FORCE_TESTER='' ASAN_OPTIONS=detect_leaks=0 LDFLAGS="-fuse-ld=gold"
+ sudo: true
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-6
+ - libstdc++6-6-dbg
+ - libgtest-dev
+ - gdb
# everything that was pushed to stable was already on 'master', except
# the version change and some doc changes.