emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 992d07b 14/57: Add travis support


From: Justin Burkett
Subject: [elpa] master 992d07b 14/57: Add travis support
Date: Tue, 3 Nov 2020 14:32:19 -0500 (EST)

branch: master
commit 992d07b29bf0f1b3403fa35f3badd79e676990e6
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    Add travis support
---
 .travis.yml | 24 ++++++++++++++++++++++++
 Cask        |  7 +++++++
 Makefile    | 19 +++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..cfe9029
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,24 @@
+before_install:
+  - git clone https://github.com/rejeep/evm.git $HOME/.evm
+  - export PATH="$HOME/.evm/bin:$PATH"
+  - export PATH="$HOME/.cask/bin:$PATH"
+  - evm config path /tmp
+  - evm install $EVM_EMACS --use --skip
+  - curl -fsSkL https://raw.github.com/cask/cask/master/go | python
+
+env:
+  - EVM_EMACS=emacs-24.4-travis
+  - EVM_EMACS=emacs-24.5-travis
+  - EVM_EMACS=emacs-25.1-travis
+  - EVM_EMACS=emacs-25.2-travis
+  - EVM_EMACS=emacs-25.3-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 0000000..f3d27cf
--- /dev/null
+++ b/Cask
@@ -0,0 +1,7 @@
+(source gnu)
+
+(package-file "vdiff.el")
+
+(development
+ (depends-on "ert")
+ (depends-on "hydra"))
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0780a20
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+.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 evil-vdiff-tests.el -f ert-run-tests-batch-and-exit
+
+elpa: $(ELPA_DIR)
+$(ELPA_DIR): Cask
+       $(CASK) install
+       mkdir -p $(ELPA_DIR)
+       touch $@



reply via email to

[Prev in Thread] Current Thread [Next in Thread]