travis: Only modify $PATH as needed

See #1396.
This commit is contained in:
Florian Bruhin 2016-04-06 07:15:51 +02:00
parent d02d99e53e
commit 2ce2b2ab9f

View File

@ -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