travis: use python3.5 for meson
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 10 Sep 2018 12:15:33 +0000 (14:15 +0200)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 11 Sep 2018 13:27:58 +0000 (14:27 +0100)
commitd631916f295d8e40e7f9e329bd285a32f2747c3c
tree2b726e0b754192b9d35b9db52164451a6537a314
parent3d08631fe5779cfadfeba3df89fbbddf3fde331b
travis: use python3.5 for meson

Newer Meson versions require python >=3.5. But in Trusty default python3
version is 3.4.x.

Install python3.5 and makes it the default version for Meson using
update-alternatives method.

CC: Jan Vesely <jano.vesely@gmail.com>
CC: Andres Gomez <agomez@igalia.com>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Jon Turney <jon.turney@dronecode.org.uk>
CC: Eric Engestrom <eric.engestrom@intel.com>
CC: Dylan Baker <dylan@pnwbakers.com>
Fixes: 3824c8e7cda97c3bf856 "meson: disable asserts by default on release builds"
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
.travis.yml