Browse Source

travis: replace hardcoded path with TRAVIS_REPO_SLUG

master
Josh Hagins 9 years ago
committed by GitHub
parent
commit
5a28265941
  1. 2
      ci/travis/before_install.sh

2
ci/travis/before_install.sh

@ -62,7 +62,7 @@ run brew update
run brew uninstall --force brew-cask
# mirror the repo as a tap, then run the build from there
run export CASK_TAP_DIR='/usr/local/Library/Taps/caskroom/homebrew-versions'
run export CASK_TAP_DIR="/usr/local/Library/Taps/caskroom/${TRAVIS_REPO_SLUG}"
run mkdir -p "${CASK_TAP_DIR}"
run rsync -az --delete "${TRAVIS_BUILD_DIR}/" "${CASK_TAP_DIR}/"
run export TRAVIS_BUILD_DIR="${CASK_TAP_DIR}"

Loading…
Cancel
Save