.travis.yml 1.4 KB

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