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.
parent 336fd111
...@@ -39,3 +39,5 @@ after_success: ...@@ -39,3 +39,5 @@ after_success:
- if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then - if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
coveralls --include src --include include --gcov-options '\-lp' --root .. --build-root .; coveralls --include src --include include --gcov-options '\-lp' --root .. --build-root .;
fi fi
sudo: required
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