From b0f6414269554d56a253a11160eec14252108ae1 Mon Sep 17 00:00:00 2001 From: Stefan Seefeld Date: Sat, 6 Aug 2016 18:58:09 -0400 Subject: [PATCH] Fix CI build environment. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 190eb043..eec12810 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,10 @@ addons: - python-docutils before_install: +# The Trusty image has several Python versions pre-installed compiled with +# conflicting UCS2 and UCS4 unicode. Modify the PATH to skip the TravisCI python. +# See https://github.com/travis-ci/travis-ci/issues/4948 for details. +- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g") - sudo pip install future install: