summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 9eb10a1431dbe7eba2123790f5a8e3f0315b965f (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
language: python

python:
  - "3.7"

env:
  matrix:
    # - EMACS=emacs24  # This is 24.3, while magit-popup.el requires 24.4.
    - 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
  - pip install snakemake

before_script:
  make .deps

script:
  make test EMACS=${EMACS}

notifications:
  email:
    on_success: never
    on_failure: always