travis: switch from Ubuntu 14.04 to 16.04

Travis is phasing out its support for containers, so we remove the `sudo:
false`, which will be a no-op soon.

Reference: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

Changes for Linux:

  - Xenial comes with libtool installed already. It only provides "libtoolize",
    though. For "libtool" we need to install libtool-bin.
This commit is contained in:
Marco Hinz 2018-11-20 10:05:07 +01:00
parent 8b39e4ec79
commit 2f6364ea4b
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F
2 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,5 @@
dist: trusty dist: xenial
sudo: false
language: c language: c
env: env:
@ -96,9 +96,9 @@ before_cache: ci/before_cache.sh
addons: addons:
apt: apt:
packages: packages:
- apport
- autoconf - autoconf
- automake - automake
- apport
- build-essential - build-essential
- clang - clang
- cmake - cmake
@ -108,7 +108,7 @@ addons:
- gdb - gdb
- language-pack-tr - language-pack-tr
- libc6-dev-i386 - libc6-dev-i386
- libtool - libtool-bin
- locales - locales
- ninja-build - ninja-build
- pkg-config - pkg-config

View File

@ -8,10 +8,8 @@ if [[ "${CI_TARGET}" == lint ]]; then
fi fi
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
brew install ninja
brew install gettext
brew reinstall libtool
brew install ccache brew install ccache
brew install ninja
export PATH="/usr/local/opt/ccache/libexec:$PATH" export PATH="/usr/local/opt/ccache/libexec:$PATH"
fi fi