branch: elpa/bind-map commit c335674139715b91bd6e49771824c95a5ffe8634 Author: justbur <jus...@burkett.cc> Commit: justbur <jus...@burkett.cc>
Add files for travis --- .travis.yml | 27 +++++++++++++++++++++++++++ Cask | 6 ++++++ Makefile | 18 ++++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..37bd79329e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,27 @@ +language: generic +sudo: false + +branches: + only: + - master + +before_install: + - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh + - evm install $EVM_EMACS --use --skip + - cask + +env: + - EVM_EMACS=emacs-24.3-travis + - EVM_EMACS=emacs-24.4-travis + - EVM_EMACS=emacs-24.5-travis + - EVM_EMACS=emacs-git-snapshot-travis + +matrix: + fast_finish: true + allow_failures: + env: + - EVM_EMACS=emacs-git-snapshot-travis + +script: + - emacs --version + - make test diff --git a/Cask b/Cask new file mode 100644 index 0000000000..83df584578 --- /dev/null +++ b/Cask @@ -0,0 +1,6 @@ +(source gnu) + +(package-file "bind-map.el") + +(development + (depends-on "ert")) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..ab92b4e2ef --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +.PHONY : test + +EMACS ?= emacs +CASK ?= cask + +LOADPATH = -L . + +ELPA_DIR = \ + .cask/$(shell $(EMACS) -Q --batch --eval '(princ emacs-version)')/elpa + +test: elpa + $(CASK) exec $(EMACS) -Q -batch $(LOADPATH) \ + -l bind-map-tests.el -f ert-run-tests-batch-and-exit + +elpa: $(ELPA_DIR) +$(ELPA_DIR): Cask + $(CASK) install + touch $@