travis-ci: Run make distcheck too

ostree is now actively using that mode.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>

Closes: #600
Approved by: cgwalters
This commit is contained in:
Simon McVittie 2016-11-28 17:24:08 +00:00 committed by Atomic Bot
parent a1ab6b50f9
commit 3d6269ebfb

View File

@ -66,10 +66,10 @@ make="make -j${ci_parallel} V=1 VERBOSE=1"
${make}
[ "$ci_test" = no ] || ${make} check || maybe_fail_tests
cat test/test-suite.log || :
# TODO: if ostree aims to support distcheck, run that too
[ "$ci_test" = no ] || ${make} distcheck || maybe_fail_tests
cat test/test-suite.log || :
${make} install DESTDIR=$(pwd)/DESTDIR
( cd DESTDIR && find . )
if [ "$ci_sudo" = yes ] && [ "$ci_test" = yes ]; then