prepare for Travis builds

This commit is contained in:
Carlo Sciolla 2016-12-25 18:05:15 +01:00
parent 7a3bdf78c1
commit d136899d89
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
2 changed files with 33 additions and 0 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: emacs-lisp
before_install:
- curl -fsSkL https://gist.github.com/rejeep/7736123/raw | sh
- export PATH="/home/travis/.cask/bin:$PATH"
- export PATH="/home/travis/.evm/bin:$PATH"
- evm install $EVM_EMACS --use
- cask
env:
- EVM_EMACS=emacs-23.4-bin
- EVM_EMACS=emacs-24.1-bin
- EVM_EMACS=emacs-24.2-bin
- EVM_EMACS=emacs-24.3-bin
script:
- emacs --version
- make test

18
Makefile Normal file
View File

@ -0,0 +1,18 @@
CASK ?= cask
EMACS ?= emacs
all: test
test: unit ecukes
unit:
${CASK} exec ert-runner
# TODO: add BDD style tests
#ecukes:
# ${CASK} exec ecukes
install:
${CASK} install
.PHONY: all test unit ecukes install