From 96589abf7b0ede8c1ea28f4e7d9f341f8d6ad37d Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sun, 14 Feb 2016 13:51:33 +0200 Subject: [PATCH] Use /usr/bin/python --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"