Travis-CI: install to /tmp/foo and run distcheck at the end

- We shouldn't run ls -lr /tmp, in particular when Coverity runs, it
  keeps a LOT of files in /tmp causing Travis to terminate our jobs
- make check is cool, but distcheck also verifies our Makefile.am
  rules, ensuring make check also works from an unpacked tarball

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-03-27 08:56:27 +01:00
1 parent dc5c4ae36c
commit 3512201a58
1 file changed
+5 -5
+5 -5
View File
@@ -24,15 +24,15 @@ addons:
name: "troglobit/libite"
description: "That missing frog DNA you've been looking for"
notification_email: troglobit@gmail.com
build_command_prepend: "./autogen.sh && ./configure --prefix=/tmp --disable-silent-rules"
build_command_prepend: "./autogen.sh && ./configure --prefix= --disable-silent-rules"
build_command: "make clean all"
branch_pattern: dev
script:
- ./autogen.sh
- ./configure --prefix=/tmp --disable-silent-rules
- ./configure --prefix= --disable-silent-rules
- make clean
- make -j5
- make install-strip
- ls -lR /tmp
- make check
- make install-strip DESTDIR=/tmp/foo
- ls -lR /tmp/foo
- make distcheck