You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

39 lines
1.3 KiB

language: emacs-lisp
sudo: false
# Allow Emacs snapshot builds to fail
matrix:
allow_failures:
- env: EVM_EMACS=emacs-git-snapshot-travis
- env: INTEGRATION=yes
env:
- EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-git-snapshot-travis
- INTEGRATION=yes
before_install:
# Get install script
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh
# Install the emacs version that cask needs to have installed
- evm install emacs-24.4-travis --use --skip
install:
# If we're running unit-tests, install the emacs version that we're testing today. Otherwise go with 25.3 for integration tests
- test -n "$EVM_EMACS" && evm install $EVM_EMACS --use --skip || evm install emacs-25.3-travis --use --skip
# Install your dependencies
- EMACS="/home/travis/.evm/bin/emacs" cask install
script:
# Print travis event type (might be cron or something else)
- emacs --version
# Run tests
- test -n "$EVM_EMACS" && env CASK='EMACS=/home/travis/.evm/bin/emacs cask' make test || true
- test -n "$INTEGRATION" && env CASK='EMACS=/home/travis/.evm/bin/emacs cask' make integration || true