diff --git a/.ci-local/travis/post-prepare.sh b/.ci-local/travis/post-prepare.sh new file mode 100755 index 00000000..5be0d8e2 --- /dev/null +++ b/.ci-local/travis/post-prepare.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +# Set VV in .travis.yml to make scripts verbose +[ "$VV" ] && set -x + +CACHEDIR=${CACHEDIR:-${HOME}/.cache} + +# source functions +. $SCRIPTDIR/utils.sh + +# Add SUPPORT to RELEASE.local +update_release_local SUPPORT ${CACHEDIR} + +echo -e "${ANSI_BLUE}Updated contents of RELEASE.local${ANSI_RESET}" +cat ${CACHEDIR}/RELEASE.local diff --git a/.travis.yml b/.travis.yml index b8afaa79..b4ebc47f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,8 @@ addons: install: - ./.ci/travis/prepare.sh + # ugly hacks go here: + - ./.ci-local/travis/post-prepare.sh script: - ./.ci/travis/build.sh