diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2020-02-17 03:10:13 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2020-02-17 03:29:54 +0100 |
commit | 6b5887ef6a0000f8bc97487c847f37f8df32827b (patch) | |
tree | 4a4de25e1f648c20ddeeba5c18f48edfd6e4d121 /.travis.yml | |
parent | 2d6e5d91af58aa50a623c707c59072d3c89b9d69 (diff) | |
download | libgphoto2-6b5887ef6a0000f8bc97487c847f37f8df32827b.tar.gz |
travis-ci: Move builds to separate script file
The handling of failing build steps has become too involved
to put it into a single command line in a ".travis.yml".
The new build script does a few things differently:
* No sudo use.
* Builds for and installs into separate root --prefix
* Builds as out of tree builds per build
The new things the new build script does:
* Print config.log and the test-suite.log files if the configure
or the "make check" stages have failed.
* Print the version information, both short and verbose.
* Print a list of the installed files.
The things the new build script does NOT do:
* Run "make clean" or "make uninstall"
We are keeping the old script lines around for the time
being. I cannot see a difference, but someone more familiar
with "vusb" and "examples/sample-afl" might.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 0de1c210c..7fbb1da55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,8 @@ compiler: script: - PATH=/usr/local/opt/gettext/bin:$PATH autoreconf -i -f && sleep 2 + - sh .travis-script.sh standard-test --enable-vusb + - sh .travis-script.sh everything-test --enable-vusb --with-camlibs=everything - 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 |