.travis.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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-pretest
  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=emacs-26-pretest
  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. - make test-with-flx