From 7e12e96e7fa179cff1dc092c3c61272570c49987 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Mon, 17 Oct 2016 01:05:38 +0300 Subject: [PATCH] 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/ --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;