summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 664caef57300ac0adf554f910dfa0e07e85d28c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Modified from
# https://github.com/rranelli/maven-test-mode/blob/master/.travis.yml

language: emacs-lisp

env:
  matrix:
    - EMACS=emacs24
    # - EMACS=emacs-snapshot

install:
  - if [ "$EMACS" = "emacs24" ]; then
        sudo add-apt-repository -y ppa:cassou/emacs &&
        sudo apt-get update -qq &&
        sudo apt-get install -qq emacs24 emacs24-el;
    fi
  - if [ "$EMACS" = "emacs-snapshot" ]; then
        sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
        sudo apt-get update -qq &&
        sudo apt-get install -qq emacs-snapshot;
    fi

script:
  make test EMACS=${EMACS}