aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8d225d81e7ac334ea67f12ce0044c04349f305cd (plain) (blame)
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
language: emacs-elisp
root: false
before_install:
  - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
  - evm install $EVM_EMACS --use --skip
  - cask install
  
env:
  global:
    - CURL="curl -fsSkL --retry 9 --retry-delay 9"
  matrix:
    - EMACS_VERSION=25.3
    - EMACS_VERSION=26.1
    - EMACS_VERSION=27.1
    - EMACS_VERSION=master
    
script:
  - emacs --version
  - cask build
  - cask clean-elc
  - cask exec ert-runner -l test/ert-helper.el test/*-tests.el
  - cask emacs --batch -Q -l package-lint.el -f package-lint-batch-and-exit lisp/*.el
  
notifications:
    webhooks:
        urls:
          - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGpvaG5zb24lM0FtYXRyaXgub3JnLyUyMVpSbGVnVEFCTHBTQmJ2c01tTiUzQW1hdHJpeC5vcmc"
        on_success: always # always|never|change
        on_failure: always
        on_start: never