From: Azat Khuzhin Date: Sun, 16 Oct 2016 22:05:38 +0000 (+0300) Subject: travis-ci: use container-based infrastructure X-Git-Tag: release-2.1.7-rc~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e12e96e7fa179cff1dc092c3c61272570c49987;p=libevent travis-ci: use container-based infrastructure - by disabling sudo - and since we use addons.apt.packages we don't need apt-get update, that requires sudo Link: https://docs.travis-ci.com/user/migrating-from-legacy/ --- diff --git a/.travis.yml b/.travis.yml index d2210dd8..37efae73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ os: - linux - osx +sudo: false env: matrix: - EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="" @@ -19,9 +20,6 @@ compiler: - gcc - clang before_install: - - if [ "$TRAVIS_OS_NAME" == "linux" ]; then - sudo apt-get update -qq; - fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew uninstall libtool && brew install libtool;