From 2412dc962703baef609712a089462dab5fe2b263 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Thu, 1 Sep 2016 18:29:48 +0200
Subject: [PATCH] Fix broken travis build
Somehow ubuntu on the travis server does not have
/usr/lib/python2.7/dist-packages in the path and thus the xcbgen module
cannot be found. Adding it to the PYTHONPATH fixes this
---
.travis.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.travis.yml b/.travis.yml
index dfd40fb0..c5a87450 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,7 @@ before_install:
- mkdir $HOME/clang-$LLVM_VERSION
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
- export PATH=$HOME/clang-$LLVM_VERSION/bin:$PATH
+ - export PYTHONPATH="/usr/lib/python2.7/dist-packages:$PYTHONPATH"
- sudo apt-add-repository -y "ppa:george-edison55/george-edison"
- sudo sed -i "s/trusty/wily/g" /etc/apt/sources.list
- sudo apt-get -qq update