Added .ci-local containing a post-prepare.sh, to allow the travis environment to be modified before building.

This commit is contained in:
Kevin Peterson
2020-03-18 10:57:56 -05:00
parent 16c12ece86
commit c171e76096
2 changed files with 18 additions and 0 deletions
+16
View File
@@ -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
+2
View File
@@ -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