Skip to content

Instantly share code, notes, and snippets.

@akirak
Forked from rejeep/travis-evm-cask.sh
Created March 14, 2018 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akirak/32ba3d4f7f08d6f3f4202841e3045118 to your computer and use it in GitHub Desktop.
Save akirak/32ba3d4f7f08d6f3f4202841e3045118 to your computer and use it in GitHub Desktop.
#!/bin/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 https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
#
# Emacs 24.3 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/.evm/bin:$PATH"
export PATH="/home/travis/.cask/bin:$PATH"
git clone https://github.com/rejeep/evm.git /home/travis/.evm
evm config path /tmp
evm install emacs-24.3-travis --use --skip
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment