From 43f989c38118a9687bc2d4a9c8197c9ac9b34a52 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Thu, 13 Oct 2016 13:31:09 +0100 Subject: [PATCH] travis: On OSX add user's pip dir to PATH (#1315) Some of the Python unit tests rely on executing trial, which is a script provided by Twisted. The pip --user install puts this into a local directory, so make sure that directory is in the path --- build/travis.osx.before_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/travis.osx.before_install.sh b/build/travis.osx.before_install.sh index 2998705f0..6edcc6d17 100755 --- a/build/travis.osx.before_install.sh +++ b/build/travis.osx.before_install.sh @@ -15,3 +15,6 @@ brew upgrade go for i in homebrew/dupes/tcl-tk ant; do brew install $i done + +# Python tests rely on Twisted's trial script being in the path +export PATH=$PATH:${HOME}/Library/Python/2.7/bin