diff options
author | Thomas Haller <thaller@redhat.com> | 2018-03-05 16:28:35 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-03-05 17:47:21 +0100 |
commit | 065741c7b2c4b9f54bf3dbb513bf4ae2755359e4 (patch) | |
tree | 95f4f6bebc6fe192befcc2a6e27c04ee9d45fc2b | |
parent | dd01418be8d7100c70dfddd28de2b55db53149e9 (diff) | |
download | NetworkManager-065741c7b2c4b9f54bf3dbb513bf4ae2755359e4.tar.gz |
travis: install meson 0.44.1 for travis' meson build
Latest versions of meson require now Python 3.5+. Not only that meson requires Python3
and thus makes building on some systems cumbersome (RHEL7), it also eagerly bumps
Python3.y requirements.
Install the last working release which works with Python3.4. This fixes
the the travis build failure on Ubuntu 14.04 (trusty):
Meson works correctly only with python 3.5+.
You have python 3.4.3 (default, Nov 28 2017, 16:41:13)
[GCC 4.8.4].
Please update your environment
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 53d4f666a0..72969fd847 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,18 @@ before_install: ./configure.py --bootstrap && sudo cp ninja /usr/bin/ && popd - sudo pip3 install meson + + # 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 fi - sudo chmod o+x /usr/sbin/pppd |