forked from stsquad/dired-rsync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (45 loc) · 1.29 KB
/
.travis.yml
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
language: emacs-lisp
os: linux
dist: xenial
addons:
apt:
update: true
packages:
- python
cache:
- directories:
- "$HOME/emacs"
fast_finish: true
allow_failures:
- env: EVM_EMACS=remacs-git-snapshot-travis
env:
matrix:
- EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-26.1-travis-linux-xenial
- EVM_EMACS=emacs-26.3-travis-linux-xenial
- EVM_EMACS=emacs-git-snapshot-travis-linux-xenial
- EVM_EMACS=remacs-git-snapshot-travis
before_install:
# Install evm
- git clone https://github.com/rejeep/evm.git ~/.evm
- export PATH="$HOME/.evm/bin:$PATH"
- evm config path /tmp
- evm list
# use this version of emacs for tests
- evm install "${EVM_EMACS}" --use --skip
- emacs --version
# install cask
- curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
- export PATH="$HOME/.cask/bin:$PATH"
# Check that cask is finding the right emacs
- cask emacs --version
# Install elisp dependencies
- cask install
script:
- if [ "$EVM_EMACS" != "emacs-git-snapshot-travis-linux-xenial" ] ; then cask exec ert-runner dired-rsync-ert.el ; fi
- cask build
- cask exec ert-runner dired-rsync-ert.el