Skip to content

Commit 131d62b

Browse files
xiongtxbbatsov
authored andcommitted
Use evm for TravisCI testing
1 parent da758ae commit 131d62b

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.travis.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1+
sudo: false
12
language: emacs-lisp
23
env:
3-
- EMACS=emacs24
4-
- EMACS=emacs-snapshot
4+
- EMACS_BINARY=emacs-24.4-travis
5+
- EMACS_BINARY=emacs-24.5-travis
6+
- EMACS_BINARY=emacs-25.1-travis
7+
- EMACS_BINARY=emacs-25.2-travis
8+
- EMACS_BINARY=emacs-git-snapshot-travis
59
matrix:
610
allow_failures:
7-
- env: EMACS=emacs-snapshot
8-
before_install:
9-
# Stable Emacs 24.4
10-
- sudo add-apt-repository -y ppa:adrozdoff/emacs
11-
# Nightly Emacs snapshot builds
12-
- sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
13-
# Update and install the Emacs for our environment
14-
- sudo apt-get update -qq
15-
- sudo apt-get install -qq -yy ${EMACS}-nox
16-
# Install and bootstrap cask
17-
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python
18-
- export PATH="${HOME}/.cask/bin:$PATH"
19-
install:
20-
- cask install
11+
- env: EMACS_BINARY=emacs-git-snapshot-travis
12+
before_script:
13+
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
14+
- evm install $EMACS_BINARY --use --skip
15+
- make elpa
2116
script:
17+
- emacs --version
2218
- make compile test

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ OBJS = $(SRCS:.el=.elc)
1212

1313
.PHONY: compile test clean
1414

15+
elpa:
16+
$(CASK) install
17+
$(CASK) update
18+
touch $@
19+
1520
compile: $(OBJS)
1621

1722
clean:

0 commit comments

Comments
 (0)