problem: sudo:false has been deprecated by Travis CI

solution: remove sudo:false usage from travis.yml

Travis has deprecated the usage of sudo:false in travis.yml.
See this blog post for more details: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
Also: https://docs.travis-ci.com/user/reference/trusty/#container-based-infrastructure
This commit is contained in:
fanquake 2019-08-10 11:56:54 +08:00
parent b66b2857ad
commit abe26f0dc3
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -44,7 +44,6 @@ matrix:
- env: BUILD_TYPE=default CURVE=tweetnacl IPv6=ON - env: BUILD_TYPE=default CURVE=tweetnacl IPv6=ON
os: linux os: linux
dist: precise dist: precise
sudo: false
- env: BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled - env: BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
os: linux os: linux
addons: addons:
@ -73,7 +72,6 @@ matrix:
- xmlto - xmlto
- env: BUILD_TYPE=default CURVE=libsodium DRAFT=enabled GSSAPI=enabled PGM=enabled NORM=enabled TIPC=enabled - env: BUILD_TYPE=default CURVE=libsodium DRAFT=enabled GSSAPI=enabled PGM=enabled NORM=enabled TIPC=enabled
os: linux os: linux
sudo: required
addons: addons:
apt: apt:
sources: sources:
@ -134,7 +132,6 @@ matrix:
- abi-dumper - abi-dumper
- abi-compliance-checker - abi-compliance-checker
sudo: false
before_install: before_install:
- if [ $TRAVIS_OS_NAME == "osx" -a $BUILD_TYPE == "android" ] ; then brew update; brew install binutils ; fi - if [ $TRAVIS_OS_NAME == "osx" -a $BUILD_TYPE == "android" ] ; then brew update; brew install binutils ; fi