Skip to content

Instantly share code, notes, and snippets.

Last active Oct 10, 2015
What would you like to do?
#!/usr/bin/env sh
# This script will setup Evm (Emacs Version Manager) and Cask on
# Travis to use for Emacs Lisp testing.
# In .travis.yml, add this:
# - curl -fsSkL > && source ./
# Emacs 24.5 is installed in the above script because Cask requires
# Emacs 24 to be installed. Because of this, when installing other
# environments in the .travis.yml configuration, use the --skip
# option, for example:
# - evm install $EVM_EMACS --use --skip
export PATH="/home/travis/.cask/bin:$PATH"
export PATH="/home/travis/.evm/bin:$PATH"
if [[ -d $EVM_DIR ]]; then
echo "EVM is already installed at '$EVM_DIR'"
exit 1
git clone -b ${1:-travis-binaries} $EVM_DIR
echo "Successfully installed EVM! Now, add the evm binary to your PATH."
echo ' export PATH="'${EVM_DIR}'/bin:$PATH"'
evm config path /tmp
evm install emacs-24.5-travis --use --skip
curl -fsSkL | python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment