diff --git a/.travis.yml b/.travis.yml index c87fe870..6e7398c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,4 @@ before_install: install: - sudo cpanm Test::TrailingSpace - which python -script: "make test" +script: "PATH=\"$(perl -lE 'my @p = split/:/,$ENV{PATH}; print join q#:#, grep { ! m#\A/opt/python# } @p;')\" make test"