Use sudo: true for ASAN and LSAN.
This is to work around
https://github.com/travis-ci/travis-ci/issues/9033
Bug: 71795056
Change-Id: Ib6397c1caef1503809a707cfbcdb5015c612d429
diff --git a/.travis.yml b/.travis.yml
index a97174d..bfef7bb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,7 +56,7 @@
env: CFG=linux_trusty-clang-x86_64-debug GN_ARGS="is_debug=true"
- os: linux
dist: trusty
- sudo: false
+ sudo: true
compiler: clang
env: CFG=linux_trusty-clang-x86_64-asan GN_ARGS="is_debug=false is_asan=true"
- os: linux
@@ -71,7 +71,7 @@
env: CFG=linux_trusty-clang-x86_64-msan GN_ARGS="is_debug=false is_msan=true"
- os: linux
dist: trusty
- sudo: false
+ sudo: true
compiler: clang
env: CFG=linux_trusty-clang-x86_64-lsan GN_ARGS="is_debug=false is_lsan=true"
- os: linux
@@ -101,12 +101,12 @@
env: CFG=android-clang-arm64-release GN_ARGS="is_debug=false target_os=\"android\" target_cpu=\"arm64\""
- os: linux
dist: trusty
- sudo: false
+ sudo: true
compiler: clang
env: CFG=android-clang-arm-asan GN_ARGS="is_debug=false target_os=\"android\" target_cpu=\"arm\" is_asan=true"
- os: linux
dist: trusty
- sudo: false
+ sudo: true
compiler: clang
env: CFG=android-clang-arm64-asan GN_ARGS="is_debug=false target_os=\"android\" target_cpu=\"arm64\" is_asan=true"