summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-12-02 16:11:31 +0100
committerThomas Haller <thaller@redhat.com>2019-12-02 17:34:52 +0100
commite06b333c4310f1c9a2e5f37b17cef759539916ff (patch)
tree8648055012202f8a6db912e300e04cbb89501ee4 /.travis.yml
parentdbed7be30d9bca9407869a61138c16b519be88d0 (diff)
downloadNetworkManager-e06b333c4310f1c9a2e5f37b17cef759539916ff.tar.gz
travis-ci: update build platform to Ubuntu 16.04 (xenial)
We kept building NetworkManager in travis on an ancient Ubuntu 14.04 (trusty). However, we already cannot install latest meson, because that would require a newer python version. The used meson 1.44.1 does not support "link_whole". At this point, it's getting just too cumbersom. Update the dependencies. (cherry picked from commit 9c00eb5cb974ab165dfadd525387619a99a80dbf)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml75
1 files changed, 31 insertions, 44 deletions
diff --git a/.travis.yml b/.travis.yml
index 139ecc11fb..57e68af9a8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: c
-dist: trusty
+dist: xenial
sudo: required
compiler:
- gcc
@@ -9,42 +9,44 @@ addons:
apt:
packages:
- autoconf
- - libtool
- - pkg-config
+ - automake
+ - dbus
+ - dbus-x11
+ - dnsmasq
+ - gobject-introspection
+ - gtk-doc-tools
- intltool
+ - iptables
+ - libcurl4-gnutls-dev
- libdbus-1-dev
- - libiw-dev
- - libglib2.0-dev
- - libmm-glib-dev
- - ppp
- - ppp-dev
- - libpolkit-gobject-1-dev
- - libgnutls-dev
- libgcrypt11-dev
- - uuid-dev
- - libudev-dev
- libgirepository1.0-dev
- - gobject-introspection
- - gtk-doc-tools
+ - libglib2.0-dev
- libglib2.0-doc
- - libreadline-dev
+ - libgnutls-dev
+ - libiw-dev
+ - libjansson-dev
+ - libjansson4
+ - libmm-glib-dev
+ - libndp-dev
- libnewt-dev
- libnss3-dev
- - iptables
+ - libpolkit-gobject-1-dev
+ - libreadline-dev
+ - libteam-dev
+ - libtool
+ - libudev-dev
- make
- - python-software-properties
- - python-gi
+ - mobile-broadband-provider-info
+ - pkg-config
+ - ppp
+ - ppp-dev
- python-dbus
- - dbus
- - dbus-x11
- - libjansson4
- - libjansson-dev
- - libndp-dev
- - automake
- - dnsmasq
- - libcurl4-gnutls-dev
+ - python-gi
+ - python-software-properties
- python3-pip
- - mobile-broadband-provider-info
+ - python3-setuptools
+ - uuid-dev
coverity_scan:
project:
name: NetworkManager/NetworkManager
@@ -56,23 +58,8 @@ before_install:
- sudo dbus-uuidgen --ensure
- |
if test "$BUILD_TYPE" == 'meson'; then
- git clone https://github.com/ninja-build/ninja &&
- pushd ninja &&
- ./configure.py --bootstrap &&
- sudo cp ninja /usr/bin/ &&
- popd
-
- # Recent meson requires python 3.5, which isn't in Ubuntu 14.04.
- # Hence we cannot install it via `pip3 install meson`. Install the latest
- # working release.
- #
- # Wouldn't it be nice to have a build system that supports everything
- # that NetworkManager would like to support?
- wget https://github.com/mesonbuild/meson/releases/download/0.44.1/meson-0.44.1.tar.gz -O /tmp/meson.tar.gz
- tar -C /tmp -xvzf /tmp/meson.tar.gz
- pushd /tmp/meson-0.44.1
- sudo python3 setup.py install
- popd
+ pip3 install ninja
+ pip3 install meson
fi
- sudo chmod o+x /usr/sbin/pppd
- sudo locale-gen pl_PL.UTF-8