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

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

[nongnu] elpa/rainbow-delimiters a695c0f3b9 183/188: Use GitHub workflow


From: ELPA Syncer
Subject: [nongnu] elpa/rainbow-delimiters a695c0f3b9 183/188: Use GitHub workflows for CI
Date: Sat, 1 Jan 2022 00:59:03 -0500 (EST)

branch: elpa/rainbow-delimiters
commit a695c0f3b9c7f27888193fd36c284cff110804a1
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>

    Use GitHub workflows for CI
---
 .github/workflows/test.sh  | 12 ++++++++++++
 .github/workflows/test.yml | 27 +++++++++++++++++++++++++++
 .travis.yml                | 26 --------------------------
 3 files changed, 39 insertions(+), 26 deletions(-)

diff --git a/.github/workflows/test.sh b/.github/workflows/test.sh
new file mode 100644
index 0000000000..d970adc9c7
--- /dev/null
+++ b/.github/workflows/test.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -o errexit
+set -o nounset
+
+if [ "$EMACS_VERSION" = '23.4' ]; then
+    curl -O 
'https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el'
+fi
+
+EMACS="${EMACS:=emacs}"
+
+"$EMACS" -Q -batch --eval '(setq byte-compile-error-on-warn t)' -f 
batch-byte-compile rainbow-delimiters.el
+"$EMACS" -Q -batch -l rainbow-delimiters-test.el -f 
ert-run-tests-batch-and-exit
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..a78c6ecafa
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,27 @@
+name: CI
+
+on:
+  push:
+    paths-ignore:
+    - '**/*.md'
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        emacs_version:
+          - 23.4
+          - 24.5
+          - 25.3
+          - 26.3
+          - snapshot
+    env:
+      EMACS_VERSION: ${{ matrix.emacs_version }}
+    steps:
+    - uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+    - uses: actions/checkout@v1
+    - name: Run tests
+      run: './.github/workflows/test.sh'
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index f78ae90592..0000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-language: emacs-lisp
-
-env:
-  - EMACS=emacs23
-  - EMACS=emacs24
-  - EMACS=emacs25
-  - EMACS=emacs26
-  - EMACS=emacs-snapshot
-  
-before_install:
-  - sudo add-apt-repository -y ppa:cassou/emacs
-  - sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
-  - sudo apt-get update -y -q
-  - sudo apt-get install -y $EMACS-nox
-  
-install:
-  - if [ "$EMACS" = "emacs23" ]; then
-      curl -O 
'https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el';
-    fi
-    
-script:
-  - $EMACS -Q -batch --eval '(setq byte-compile-error-on-warn t)' -f 
batch-byte-compile rainbow-delimiters.el
-  - $EMACS -Q -batch -l rainbow-delimiters-test.el -f 
ert-run-tests-batch-and-exit
-  
-notifications:
-  email: false



reply via email to

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