.travis.yml 1.1 KB

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