Fix Travis build environment
authorNikolaus Rath <Nikolaus@rath.org>
Sat, 31 Mar 2018 12:21:08 +0000 (13:21 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Sat, 31 Mar 2018 12:21:08 +0000 (13:21 +0100)
Newest Meson requires Python 3.5 which isn't available in Trusty.
Pip version pin no longer necessary.

.travis.yml
test/travis-install.sh

index ef6c6f6226885f664edcdd0f53456e4fbb1dc2b3..888c9540c44803f5463bd800a8e59724c681bb67 100644 (file)
@@ -14,8 +14,6 @@ addons:
     - gcc
     - gcc-6
     - python3-pip
-before_install:
-   - sudo -H python3 -m pip install pip==8.1.1
 install: test/travis-install.sh
 script: test/travis-build.sh
 
index 5d37a009276f1d9b0cf8f7d0e831508d09f3575c..2546808e0b0282e4655f227be4bb674072ed694f 100755 (executable)
@@ -2,7 +2,8 @@
 
 set -e
 
-sudo python3 -m pip install pytest meson
+# Meson 0.45 requires Python 3.5 or newer
+sudo python3 -m pip install pytest meson==0.44
 wget https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip
 unzip ninja-linux.zip
 chmod 755 ninja