Skip to content

Commit c1170a6

Browse files
author
Jason Duncan
committed
More testing/CI stuff.
1 parent 85f64d4 commit c1170a6

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.ert-runner

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-L test/

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: emacs-lisp
2+
sudo: false
3+
4+
before_install:
5+
# evm install
6+
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
7+
- evm install $EVM_EMACS --use --skip
8+
# install the matrix's emacs version
9+
- cask --version
10+
- emacs --version
11+
# install deps for cask
12+
- EMACS="/home/travis/.evm/bin/emacs" cask install
13+
env:
14+
- EVM_EMACS=emacs-25.1-travis
15+
- EVM_EMACS=emacs-25.2-travis
16+
- EVM_EMACS=emacs-25.3-travis
17+
- EVM_EMACS=emacs-26.1-travis
18+
script:
19+
- pwd
20+
- EMACS="/home/travis/.evm/bin/emacs" make install test

run-tests.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
for version in $*; do
4+
EMACS_NAME=emacs-$version
5+
# forge the right path
6+
PATH=$(evm bin $EMACS_NAME):~/.evm/bin/:~/.cask/bin/:/usr/local/bin:/usr/bin/:/bin
7+
# use the emacs version
8+
evm use $EMACS_NAME
9+
# check the right emacs version is found
10+
emacs --version
11+
# install deps
12+
cask install
13+
# run the tests
14+
make test
15+
done

0 commit comments

Comments
 (0)