[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)).
- [elpa] externals/js2-mode updated (e6a9059 -> a059c41), ELPA Syncer, 2021/11/01
- [elpa] externals/js2-mode 0ef18eb 3/6: Add more checks and two more versions to run on, ELPA Syncer, 2021/11/01
- [elpa] externals/js2-mode 466c3e0 4/6: Change a glob, ELPA Syncer, 2021/11/01
- [elpa] externals/js2-mode 486dc0e 5/6: Don't bother testing Emacs 24, at least for now, ELPA Syncer, 2021/11/01
- [elpa] externals/js2-mode a059c41 6/6: Drop Travis integration,
ELPA Syncer <=
- [elpa] externals/js2-mode 29c9369 1/6: Add GitHub Actions workflow, ELPA Syncer, 2021/11/01
- [elpa] externals/js2-mode 905adaf 2/6: Merge pull request #577 from DamienCassou/add-github-actions, ELPA Syncer, 2021/11/01