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