.travis.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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-25.3
  11. - EMACS_VERSION=emacs-26.1
  12. - EMACS_VERSION=emacs-26.2
  13. - EMACS_VERSION=emacs-26.3
  14. - EMACS_VERSION=emacs-git-snapshot
  15. - EMACS_VERSION=remacs-git-snapshot
  16. matrix:
  17. allow_failures:
  18. - env: EMACS_VERSION=remacs-git-snapshot
  19. - env: EMACS_VERSION=emacs-git-snapshot
  20. before_script:
  21. # Install evm
  22. - git clone https://github.com/rejeep/evm.git ~/.evm
  23. - export PATH="$HOME/.evm/bin:$PATH"
  24. - evm config path /tmp
  25. - evm list
  26. # use this version of emacs for tests
  27. - evm install "${EMACS_VERSION}-travis" --use --skip
  28. - evm list
  29. - emacs --version
  30. # Install cask
  31. - curl -fsSkL https://raw.github.com/cask/cask/master/go | python
  32. - export PATH="$HOME/.cask/bin:$PATH"
  33. # Fix cask (See https://github.com/cask/cask/issues/399#issuecomment-331640427)
  34. - perl -ibak -lape 's{#!/usr/bin/env python}{#!/usr/bin/python}' "$(which cask)"
  35. # Check that cask is finding the right emacs
  36. - cask emacs --version
  37. # Install elisp dependencies
  38. - cask install
  39. script:
  40. - make compile
  41. # Don't send redundant coverage info
  42. - UNDERCOVER_CONFIG='((:send-report nil))' make test
  43. # For some reason emacs-git-snapshot hangs forever on this step
  44. - if [ "$EMACS_VERSION" != emacs-git-snapshot ]; then make test-with-flx; fi