Code

Travis: build python plugin
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 6 Mar 2016 11:46:15 +0000 (12:46 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 6 Mar 2016 11:46:15 +0000 (12:46 +0100)
The Travis image has various python versions installed in /opt,
none of which have development headers, and they are first in
the PATH. Explicitly use the python in /usr/bin instead.

.travis.yml

index b20d9a3141f90446a9189bfe4f1d998433426b9a..03d9dded2e526a36dfd3630f7b5cbba073824360 100644 (file)
@@ -53,4 +53,4 @@ before_install:
       perl
       protobuf-c-compiler
       python-dev
-script: sh build.sh && ./configure && make distcheck
+script: sh build.sh && ./configure --with-python=/usr/bin/python && make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-python=/usr/bin/python"