mirror of
https://github.com/google/benchmark.git
synced 2025-01-14 22:00:33 +08:00
Mark sudo: required for Travis
Google Benchmark's Travis build currently requires "sudo" to install newer versions of CMake and similar. See this for more details: https://docs.travis-ci.com/user/workers/container-based-infrastructure/ Since Google Benchmark was put into Travis before 2015-01-01, it gets the standard infrastructure implicitly, so sudo works. But anyone who forks this repository and tries to add Travis.CI (so they can see if the build works before creating a PR) gets broken builds before this change.
This commit is contained in:
parent
336fd111f5
commit
fa0e7ef8c6
@ -39,3 +39,5 @@ after_success:
|
||||
- if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
|
||||
coveralls --include src --include include --gcov-options '\-lp' --root .. --build-root .;
|
||||
fi
|
||||
|
||||
sudo: required
|
||||
|
Loading…
Reference in New Issue
Block a user