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

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

[nongnu] elpa/evil-matchit 0f23f97aef 234/244: use github workflows inst


From: ELPA Syncer
Subject: [nongnu] elpa/evil-matchit 0f23f97aef 234/244: use github workflows instead of travis ci
Date: Thu, 6 Jan 2022 02:59:04 -0500 (EST)

branch: elpa/evil-matchit
commit 0f23f97aef6790c6ce643511d1867792410f49d2
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    use github workflows instead of travis ci
---
 .github/workflows/test.yml | 29 +++++++++++++++++++++++++++++
 .travis.yml                | 16 ----------------
 README.org                 | 13 +++++++------
 3 files changed, 36 insertions(+), 22 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..2ceaa641cb
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,29 @@
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        emacs_version:
+          - 25.3
+          - 26.3
+          - 27.1
+          - snapshot
+    steps:
+    - uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+
+    - uses: actions/checkout@v2
+
+    - name: Print emacs version
+      run: |
+        emacs --version
+
+    - name: Run tests
+      run: |
+        make test
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 4abcb35cf8..0000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-language: nix
-
-os:
-  - linux
-
-env:
-  - EMACS_CI=emacs-25-1
-  - EMACS_CI=emacs-26-3
-  - EMACS_CI=emacs-27-1
-  # - EMACS_CI=emacs-snapshot # wait evil 1.15.0
-
-install:
-  - bash <(curl 
https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install)
-
-script:
-  - bash <(make test)
diff --git a/README.org b/README.org
index 6f2a3e996a..068c5764cc 100644
--- a/README.org
+++ b/README.org
@@ -1,6 +1,7 @@
 * evil-matchit
-[[https://travis-ci.org/redguardtoo/evil-matchit][https://travis-ci.org/redguardtoo/evil-matchit.svg?branch=master]]
-[[http://melpa.org/#/evil-matchit][file:http://melpa.org/packages/evil-matchit-badge.svg]]
 
[[http://stable.melpa.org/#/evil-matchit][file:http://stable.melpa.org/packages/evil-matchit-badge.svg]]
+[[https://github.com/redguardtoo/evil-matchit/actions/workflows/test.yml][https://github.com/redguardtoo/evil-matchit/actions/workflows/test.yml/badge.svg]]
+[[http://melpa.org/#/evil-matchit][file:http://melpa.org/packages/evil-matchit-badge.svg]]
+[[http://stable.melpa.org/#/evil-matchit][file:http://stable.melpa.org/packages/evil-matchit-badge.svg]]
 
 Vim [[http://www.vim.org/scripts/script.php?script_id=39][matchit.vim]] by 
Benji Fisher is ported into Emacs.
 
@@ -38,11 +39,11 @@ Many modern languages are supported:
 
 This package uses Evil as its vi layer!
 
-Tested on Emacs 25.1, 26, 27, 28
+Tested on Emacs 25, 26, 27, 28
 
 * Why use evil-matchit
 - No learning curve. Press "%" to jump. That's all!
-- Stable. Usage of Evil API is minimized
+- Stable. Usage of Evil API is minimised
 - Perfect integration with Evil
 - Support any modern languages (html/java/c/c++/python/latex/javascript ...)
 - Powerful. If you mix jsp, freemarker, html, jquery template or any weird 
syntax into one file, it still works!
@@ -76,7 +77,7 @@ Press "da%" to delete line(s) wrapped by tags including tags 
themselves. =M-x ev
 
 All commands support numeric argument like "3%", "5va%" or "9da%"
 
-Pressing "3%" jumps to a line 3 percentage down the file. It's the default 
behavior in original =evil-mode=. You can =(setq evilmi-may-jump-by-percentage 
nil)= to turn off this feature. Then "3%" will jump 3 times.
+Pressing "3%" jumps to a line 3 percentage down the file. It's the default 
behaviour in original =evil-mode=. You can =(setq evilmi-may-jump-by-percentage 
nil)= to turn off this feature. Then "3%" will jump 3 times.
 
 Please note *only =evil-visual-state= and =evil-normal-state= are supported*.
 
@@ -86,7 +87,7 @@ This is actually an advantage of Emacs, you can tweak the 
select region without
 
 * Advanced tips
 ** Support new major modes
-In order to apply three matching rules =evilmi-template=, =evilmi-simple=, and 
=evilmi-html= on =mhtml-mode=, please insert below code *after* your 
evil-nerd-commenter setup:
+In order to apply three matching rules =evilmi-template=, =evilmi-simple=, and 
=evilmi-html= on =mhtml-mode=, please insert below code *after* your 
evil-matchit setup:
 #+begin_src elisp
 (evilmi-load-plugin-rules '(mhtml-mode) '(template simple html))
 #+end_src



reply via email to

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