Skip to content

Commit 7ddec05

Browse files
committed
Setup CI
1 parent 6327a88 commit 7ddec05

File tree

3 files changed

+42
-5
lines changed

3 files changed

+42
-5
lines changed

.gitignore

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
# Compiled and temporary files
12
*.elc
3+
*~
4+
5+
# Cask
26
/.cask
3-
/test/sandbox
4-
/features/sandbox
5-
/dist
6-
/build
7-
/tmp
7+
dist
8+
9+
# Ecukes
10+
/features/project/.cask
11+
/features/project/test/*.el

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: generic
2+
sudo: false
3+
before_install:
4+
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
5+
- evm install $EVM_EMACS --use --skip
6+
- cask
7+
env:
8+
- EVM_EMACS=emacs-24.1-travis
9+
- EVM_EMACS=emacs-24.2-travis
10+
- EVM_EMACS=emacs-24.3-travis
11+
- EVM_EMACS=emacs-24.4-travis
12+
- EVM_EMACS=emacs-24.5-travis
13+
script:
14+
- emacs --version
15+
- make test
16+
17+
notifications:
18+
email: false

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
CASK ?= cask
2+
EMACS ?= emacs
3+
4+
all: test
5+
6+
test: unit ecukes
7+
8+
unit:
9+
${CASK} exec ert-runner
10+
11+
ecukes:
12+
${CASK} exec ecukes
13+
14+
install:
15+
${CASK} install

0 commit comments

Comments
 (0)