mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Travis: remove sudo configuration
See: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
This commit is contained in:
parent
2460b4461f
commit
8f4840b31a
22
.travis.yml
22
.travis.yml
@ -30,7 +30,7 @@ env:
|
|||||||
-
|
-
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
## include creates builds with gcc, linux, sudo: false
|
## include creates builds with gcc, linux
|
||||||
include:
|
include:
|
||||||
## We include a single coverage build with the best options for coverage
|
## We include a single coverage build with the best options for coverage
|
||||||
- env: COVERAGE_OPTIONS="--enable-coverage" HARDENING_OPTIONS=""
|
- env: COVERAGE_OPTIONS="--enable-coverage" HARDENING_OPTIONS=""
|
||||||
@ -53,12 +53,6 @@ matrix:
|
|||||||
## allow failures by env:
|
## allow failures by env:
|
||||||
## https://docs.travis-ci.com/user/customizing-the-build#matching-jobs-with-allow_failures
|
## https://docs.travis-ci.com/user/customizing-the-build#matching-jobs-with-allow_failures
|
||||||
exclude:
|
exclude:
|
||||||
## Clang doesn't work in containerized builds, see below.
|
|
||||||
- compiler: clang
|
|
||||||
sudo: false
|
|
||||||
## Non-containerized gcc are slow and redundant.
|
|
||||||
- compiler: gcc
|
|
||||||
sudo: required
|
|
||||||
## gcc on OSX is less useful, because the default compiler is clang.
|
## gcc on OSX is less useful, because the default compiler is clang.
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
os: osx
|
os: osx
|
||||||
@ -68,20 +62,6 @@ matrix:
|
|||||||
os: linux
|
os: linux
|
||||||
env:
|
env:
|
||||||
|
|
||||||
## We don't need sudo. (The "apt:" stanza after this allows us to not need
|
|
||||||
## sudo; otherwise, we would need it for getting dependencies.)
|
|
||||||
##
|
|
||||||
## But we use "sudo: required" to force non-containerized builds, working
|
|
||||||
## around a Travis CI environment issue: clang LeakAnalyzer fails
|
|
||||||
## because it requires ptrace and the containerized environment no
|
|
||||||
## longer allows ptrace.
|
|
||||||
## https://github.com/travis-ci/travis-ci/issues/9033
|
|
||||||
##
|
|
||||||
## In the matrix above, we exclude redundant combinations.
|
|
||||||
sudo:
|
|
||||||
- false
|
|
||||||
- required
|
|
||||||
|
|
||||||
## (Linux only) Use the latest Linux image (Ubuntu Trusty)
|
## (Linux only) Use the latest Linux image (Ubuntu Trusty)
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user