mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-15 07:15:03 -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:
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user