Codebase list ido-ubiquitous / upstream/4.10 .travis.yml
upstream/4.10

Tree @upstream/4.10 (Download .tar.gz)

.travis.yml @upstream/4.10raw · history · blame

language: generic
dist: trusty
sudo: false

env:
  matrix:
    - EMACS_VERSION=emacs-24.4
    - EMACS_VERSION=emacs-24.5
    - EMACS_VERSION=emacs-25.1
    - EMACS_VERSION=emacs-25.2
    - EMACS_VERSION=emacs-25.3
    - EMACS_VERSION=emacs-26-pretest
    # For some reason emac-git-snapshot hangs forever
    # - EMACS_VERSION=emacs-git-snapshot
    - EMACS_VERSION=remacs-git-snapshot

matrix:
  allow_failures:
  - env: EMACS_VERSION=emacs-26-pretest
  - env: EMACS_VERSION=remacs-git-snapshot
  - env: EMACS_VERSION=emacs-git-snapshot

before_script:
  # Install evm
  - git clone https://github.com/rejeep/evm.git ~/.evm
  - export PATH="$HOME/.evm/bin:$PATH"
  - evm config path /tmp
  - evm list
  # use this version of emacs for tests
  - evm install "${EMACS_VERSION}-travis" --use --skip
  - evm list
  - emacs --version
  # Install cask
  - curl -fsSkL https://raw.github.com/cask/cask/master/go | python
  - export PATH="$HOME/.cask/bin:$PATH"
  # Fix cask (See https://github.com/cask/cask/issues/399#issuecomment-331640427)
  - perl -ibak -lape 's{#!/usr/bin/env python}{#!/usr/bin/python}' "$(which cask)"
  # Check that cask is finding the right emacs
  - cask emacs --version
  # Install elisp dependencies
  - cask install

script:
  - make compile
  # Don't send redundant coverage info
  - UNDERCOVER_CONFIG='((:send-report nil))' make test
  - make test-with-flx