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

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

[elpa] externals/js2-mode a059c41 6/6: Drop Travis integration


From: ELPA Syncer
Subject: [elpa] externals/js2-mode a059c41 6/6: Drop Travis integration
Date: Mon, 1 Nov 2021 21:57:28 -0400 (EDT)

branch: externals/js2-mode
commit a059c4105b374ce037b4cc0c942f9aed96508021
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Drop Travis integration
---
 .travis.yml | 24 ------------------------
 Makefile    | 12 +++++++-----
 README.md   |  2 +-
 3 files changed, 8 insertions(+), 30 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index bb0a9e0..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-# https://github.com/rolandwalker/emacs-travis
-
-language: emacs-lisp
-
-env:
-  matrix:
-    - EMACS=emacs24
-    - EMACS=emacs-snapshot
-
-install:
-  - if [ "$EMACS" = "emacs24" ]; then
-        sudo add-apt-repository -y ppa:cassou/emacs &&
-        sudo apt-get update -qq &&
-        sudo apt-get install -qq emacs24 emacs24-el;
-    fi
-  - if [ "$EMACS" = "emacs-snapshot" ]; then
-        sudo add-apt-repository -y ppa:cassou/emacs &&
-        sudo apt-get update -qq &&
-        sudo apt-get install -qq emacs-snapshot &&
-        sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-gtk;
-    fi
-
-script:
-  make test EMACS=${EMACS}
diff --git a/Makefile b/Makefile
index bad22c9..cbc3c2b 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,9 @@ BATCHFLAGS = -batch -Q
 
 SRCS = js2-mode.el js2-imenu-extras.el
 
-OBJS = $(SRCS:.el=.elc)
+TESTS = $(wildcard tests/*.el)
+
+OBJS = $(SRCS:.el=.elc) $(TESTS:.el=.elc)
 
 %.elc: %.el
        ${EMACS} $(BATCHFLAGS) -L . -f batch-byte-compile $^
@@ -17,7 +19,7 @@ all: $(OBJS)
 clean:
        -rm -f $(OBJS)
 
-test:
-       ${EMACS} $(BATCHFLAGS) -L . -l js2-mode.el -l js2-old-indent.el -l 
tests/parser.el \
-         -l tests/indent.el -l tests/externs.el -l tests/json-path.el -l 
tests/consume.el \
-         -l tests/navigation.el -f ert-run-tests-batch-and-exit
+test:  all
+       ${EMACS} $(BATCHFLAGS) -L . \
+         $(addprefix -l ,$(OBJS)) \
+         -f ert-run-tests-batch-and-exit
diff --git a/README.md b/README.md
index d385053..e0fa18f 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-About [![Build 
Status](https://travis-ci.org/mooz/js2-mode.svg?branch=master)](https://travis-ci.org/mooz/js2-mode)
 
[![MELPA](https://melpa.org/packages/js2-mode-badge.svg)](https://melpa.org/#/js2-mode)
+About [![Build 
Status](https://github.com/mooz/js2-mode/actions/workflows/test.yml/badge.svg)](https://github.com/mooz/js2-mode/actions/workflows/test.yml)
 
[![MELPA](https://melpa.org/packages/js2-mode-badge.svg)](https://melpa.org/#/js2-mode)
 ======
 
 Improved JavaScript editing mode for GNU Emacs ([description 
here](http://elpa.gnu.org/packages/js2-mode.html)).



reply via email to

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