2018-07-10 09:14:27 -07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
2018-07-13 15:29:25 -07:00
|
|
|
. .ci/travis.sh
|
2018-07-10 09:14:27 -07:00
|
|
|
if [ "$1" != "release-ready" ] ; then
|
|
|
|
exit 0
|
|
|
|
fi
|
2018-07-13 15:29:25 -07:00
|
|
|
travis_fold distcheck "make distcheck"
|
2018-07-10 09:14:27 -07:00
|
|
|
if [ "$DISTRO" != "" ] ; then
|
2018-07-20 08:26:05 -07:00
|
|
|
docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
|
2018-07-10 15:43:55 -07:00
|
|
|
--env CXX="ccache g++" \
|
|
|
|
--env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
|
2018-07-20 11:24:10 -07:00
|
|
|
--env LD="ld.gold" $(cat $HOME/cid) make distcheck || \
|
|
|
|
(sudo cat efl-*/_build/sub/src/test-suite.log; false)
|
2018-07-10 09:14:27 -07:00
|
|
|
else
|
|
|
|
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
|
|
|
|
make
|
|
|
|
fi
|
2018-07-13 15:29:25 -07:00
|
|
|
travis_endfold distcheck
|