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/
This commit is contained in:
Azat Khuzhin 2016-10-17 01:05:38 +03:00
parent 9d2f8d4b80
commit 7e12e96e7f

View File

@ -1,6 +1,7 @@
os: os:
- linux - linux
- osx - osx
sudo: false
env: env:
matrix: matrix:
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="" - EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS=""
@ -19,9 +20,6 @@ compiler:
- gcc - gcc
- clang - clang
before_install: before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get update -qq;
fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update; brew update;
brew uninstall libtool && brew install libtool; brew uninstall libtool && brew install libtool;