Skip to content

Commit

Permalink
travis-ci: use container-based infrastructure
Browse files Browse the repository at this point in the history
- 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/
  • Loading branch information
azat committed Oct 16, 2016
1 parent 9d2f8d4 commit 7e12e96
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
os:
- linux
- osx
sudo: false
env:
matrix:
- EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS=""
Expand All @@ -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;
Expand Down

0 comments on commit 7e12e96

Please sign in to comment.