.travis.yml 1.1 KB

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