mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-14 06:49:35 -04:00
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:
parent
9d2f8d4b80
commit
7e12e96e7f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user