1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
language: generic
dist: trusty
sudo: false
env:
matrix:
- EMACS_VERSION=emacs-24.4
- EMACS_VERSION=emacs-24.5
- EMACS_VERSION=emacs-25.1
- EMACS_VERSION=emacs-25.2
- EMACS_VERSION=emacs-25.3
- EMACS_VERSION=emacs-26.1
# For some reason emac-git-snapshot hangs forever
# - EMACS_VERSION=emacs-git-snapshot
- EMACS_VERSION=remacs-git-snapshot
matrix:
allow_failures:
- env: EMACS_VERSION=remacs-git-snapshot
- env: EMACS_VERSION=emacs-git-snapshot
before_script:
# Install evm
- git clone https://github.com/rejeep/evm.git ~/.evm
- export PATH="$HOME/.evm/bin:$PATH"
- evm config path /tmp
- evm list
# use this version of emacs for tests
- evm install "${EMACS_VERSION}-travis" --use --skip
- evm list
- emacs --version
# Install cask
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python
- export PATH="$HOME/.cask/bin:$PATH"
# Fix cask (See https://github.com/cask/cask/issues/399#issuecomment-331640427)
- perl -ibak -lape 's{#!/usr/bin/env python}{#!/usr/bin/python}' "$(which cask)"
# Check that cask is finding the right emacs
- cask emacs --version
# Install elisp dependencies
- cask install
script:
- make compile
# Don't send redundant coverage info
- UNDERCOVER_CONFIG='((:send-report nil))' make test
- make test-with-flx
|