summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1206e1af93821247ecee8ca9ad28b5d58a6175c1 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: emacs-lisp
sudo: false
env:
  - EVM_EMACS=emacs-24.5
  - EVM_EMACS=emacs-24.4
  - EVM_EMACS=emacs-24.3
  - EVM_EMACS=emacs-24.2
  - EVM_EMACS=emacs-24.1

cache:
  apt: true
  directories:
  - $HOME/emacsen

addons:
  apt:
    packages:
      - python
      - curl
      - libxpm-dev
      - texinfo
      - x11-utils
      - xdotool

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3
  - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
  - export PATH="$HOME/.evm/bin:$PATH"
  - mkdir -p $HOME/emacsen
  - evm config path $HOME/emacsen

install:
  - evm install $EVM_EMACS --skip
  - evm use $EVM_EMACS
  - curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
  - export PATH="/home/travis/.cask/bin:$PATH"
  - cask install

script:
  - cask exec ert-runner
  - sh linux-gui-restart-test.sh

notifications:
  email:
    recipients:
      - iqbalansari02@yahoo.com
    on_success: never
    on_failure: always