From 2ce2b2ab9f2cb8840328d00e5a515ce92c9e5854 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Apr 2016 07:15:51 +0200 Subject: [PATCH] travis: Only modify $PATH as needed See #1396. --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4952fddcc..42c374745 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,5 @@ sudo: required dist: trusty -env: - global: - - PATH=/home/travis/bin:/home/travis/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # Not really, but this is here so we can do stuff by hand. language: c @@ -48,6 +45,10 @@ cache: - $HOME/.cache/pip - $HOME/build/The-Compiler/qutebrowser/.cache +before_install: + # We need to do this so we pick up the system-wide python properly + - 'export PATH="/usr/bin:$PATH"' + install: - python scripts/dev/ci/install.py