aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 7f43330e4ce1fadf7ec72d59db485107d70a0469 (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
25
26
27
28
29
30
31
32
33
34
language: generic
sudo: true

env:
  global:
    - CURL="curl -fsSkL --retry 9 --retry-delay 9"
  matrix:
  - EMACS_VERSION=24.5
  - EMACS_VERSION=25.3
  - EMACS_VERSION=26.3
  - EMACS_VERSION=master

matrix:
  allow_failures:
    - env: EMACS_VERSION=master

before_install:
  - sudo apt-get update
  - sudo apt-get install -y aspell aspell-en # required for flyspell test

install:
  - $CURL -O https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
  - tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
  - export EMACS=/tmp/emacs/bin/emacs

script:
  - $EMACS --version
  - emacs=$EMACS make test

notifications:
  email:
    # Default is change, but that includes a new branch's 1st success.
    on_success: never
    on_failure: never