Current Trusty beta leaves non-system installations of python in the
PATH. Therefore, we fail to find the Mako package during build.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
#
# Jailhouse, a Linux-based partitioning hypervisor
#
-# Copyright (c) Siemens AG, 2014, 2015
+# Copyright (c) Siemens AG, 2014-2016
#
# Authors:
# Jan Kiszka <jan.kiszka@siemens.com>
sudo: required
dist: trusty
+# Remove bogus python installations from PATH,
+# see https://github.com/travis-ci/travis-ci/issues/5326
+before_install:
+ - export PATH=$(echo $PATH | sed 's/\/opt\/python[^:]*//g')
+
install:
# Install additional packages
- sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu vivid main'