diff options
| author | Pierre Courtieu | 2016-02-17 18:06:19 +0100 |
|---|---|---|
| committer | Pierre Courtieu | 2016-02-17 18:06:19 +0100 |
| commit | 444d64cc2f68b1f012c8079a333994c3234771c6 (patch) | |
| tree | c8f0a488ffca51a5bd3bfc693564e9781936a513 | |
| parent | 8c4d99159f480b4d0ae5885a8d5c905cc88e0bd9 (diff) | |
| parent | a6df886c3a8f4244acf3254deb8134742d939ede (diff) | |
Merge pull request #28 from JasonGross/travis-24-3-4-5
travis.yml for emacs 24.{3,4,5}
| -rw-r--r-- | .travis.yml | 18 | ||||
| -rw-r--r-- | Makefile.travis | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..eb97249d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: emacs-lisp +sudo: false + +env: + - EMACS_TARGET=emacs-24.3 + - EMACS_TARGET=emacs-24.4 + - EMACS_TARGET=emacs-24.5 + - EMACS_TARGET=emacs-git + +before_install: + - make -f Makefile.travis before_install + +install: + - make -f Makefile.travis install + +script: + - emacs --version + - make -f Makefile.travis script diff --git a/Makefile.travis b/Makefile.travis new file mode 100644 index 00000000..3466a7af --- /dev/null +++ b/Makefile.travis @@ -0,0 +1,29 @@ +VERSIONS = 21.4a 22.1 22.2 22.3 23.1 23.2b 23.3b 23.4 24.1 24.2 24.3 24.4 24.5 +STABLE_TARGETS = $(addprefix prepare-emacs-,$(VERSIONS)) + +.PHONY: prepare-emacs-24 prepare-emacs-git $(STABLE_TARGETS) \ + prepare-emacs before_install install script + +$(STABLE_TARGETS): + curl -o /tmp/$(EMACS_TARGET).tar.gz "https://ftp.gnu.org/gnu/emacs/$(EMACS_TARGET).tar.gz" + mkdir /tmp/emacs-tmp + tar xzf /tmp/$(EMACS_TARGET).tar.gz -C /tmp/emacs-tmp + mv /tmp/emacs-tmp/* "/tmp/emacs" || (ls /tmp/*; exit 1) + +prepare-emacs-git: + git clone --depth=1 'http://git.sv.gnu.org/r/emacs.git' /tmp/emacs + cd /tmp/emacs && ./autogen.sh + +prepare-emacs: prepare-$(EMACS_TARGET) + cd /tmp/emacs && ./configure --prefix="$(HOME)" --without-all --with-x-toolkit=no --without-x --with-xml2 && make -j2 install + +before_install: prepare-emacs + +install: + +script: + make + +# Local Variables: +# indent-tabs-mode: t +# End: |
