summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-16 19:31:22 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-16 19:31:22 +0100
commit0469a4606c9850e53304ef3c7e71de39f26eef92 (patch)
tree97e6dba6c4bf5bfb73ec6e8c1ba297c054992ef8
parent8949be6d35cbb42eb75bdf1882d60e7ef49f48f2 (diff)
downloadlibgphoto2-0469a4606c9850e53304ef3c7e71de39f26eef92.tar.gz
travis-ci: Try non-sudo outside-of-tree build
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 412af732d..e0200ccc7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,8 @@ compiler:
script:
- PATH=/usr/local/opt/gettext/bin:$PATH autoreconf -i -f
- date; ls -l configure
+ - mkdir _b && pushd _b && ../configure --prefix=$PWD/../_i --enable-vusb --with-camlibs=everything && make -j2 && if make check; then :; else cat libgphoto2_port/test/test-suite.log test/test-suite.log; false; fi && make install && examples/sample-afl && popd && find _i -type f | sort
+ - date; ls -l configure
- ./configure --enable-vusb && make && if make check; then :; else cat libgphoto2_port/test/test-suite.log test/test-suite.log; false; fi && sudo PATH=$PATH make install && examples/sample-afl && make clean
- date; ls -l configure
- ./configure --enable-vusb --with-camlibs=all,outdated,jd11 && make && if make check; then :; else cat libgphoto2_port/test/test-suite.log test/test-suite.log; false; fi && sudo PATH=$PATH make install && examples/sample-afl && make clean