aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6311b0ad87cecd119475073da79c76fdb9c34ece (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
language: emacs-lisp
sudo: false
before_install:
  - git clone https://github.com/cask/cask ~/.cask
  - PATH=$HOME/.cask/bin:$PATH
  - export PATH="/home/travis/.evm/bin:$PATH"
  # - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
  - git clone https://github.com/rejeep/evm.git /home/travis/.evm
  - evm config path /tmp
  - evm install $EVM_EMACS --use --skip
  - cask install
env:
  - EVM_EMACS=emacs-24.5-travis
  - EVM_EMACS=emacs-25.1-travis
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