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

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

[nongnu] elpa/multiple-cursors 2f003612b7: Use GitHub Actions in place o


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 2f003612b7: Use GitHub Actions in place of Travis, and test more Emacs versions (#365)
Date: Sun, 22 May 2022 07:58:28 -0400 (EDT)

branch: elpa/multiple-cursors
commit 2f003612b7e5a37d6cf2b26a9be455f727814966
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>

    Use GitHub Actions in place of Travis, and test more Emacs versions (#365)
    
    * Use GitHub Actions in place of Travis, and test more Emacs versions
    
    * Run tests in Actions via `script` to fake a TTY
    
    * Add newer emacs versions to CI matrix
---
 .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++
 .travis.yml              | 21 ---------------------
 README.md                |  2 +-
 run-travis-ci.sh         | 13 -------------
 4 files changed, 40 insertions(+), 35 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000000..a6b67fee8a
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,39 @@
+name: CI
+
+on:
+  pull_request:
+  push:
+    paths-ignore:
+    - '**.md'
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        emacs_version:
+          - 24.3
+          - 24.4
+          - 24.5
+          - 25.1
+          - 25.2
+          - 25.3
+          - 26.1
+          - 26.2
+          - 26.3
+          - 27.2
+          - 28.1
+          - snapshot
+    steps:
+    - uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+    - name: Install Cask
+      run: curl -fsSkL https://raw.github.com/cask/cask/master/go | python
+    - name: Add Cask to PATH
+      run: echo "$HOME/.cask/bin" >> $GITHUB_PATH
+    - uses: actions/checkout@v2
+    - name: Install dependencies with Cask
+      run: cask
+    - name: Run tests
+      run: script -e -c /bin/bash -c 'TERM=xterm ./run-tests.sh'
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 9048e0e7b3..0000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-language: emacs-lisp
-before_install:
-  - 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-el emacs-snapshot-gtk emacs-snapshot;
-    fi
-  - 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 emacs24-common-non-dfsg;
-    fi
-  - curl -fsSkL https://raw.github.com/cask/cask/master/go | python
-  - export PATH="/home/travis/.cask/bin:$PATH"
-  - cask
-env:
-  - EMACS=emacs24 TAGS=""
-script:
-  ./run-travis-ci.sh
diff --git a/README.md b/README.md
index 9a21afadbe..09be689d37 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[![Build 
Status](https://secure.travis-ci.org/magnars/multiple-cursors.el.png)](https://travis-ci.org/magnars/multiple-cursors.el)
+[![Build 
Status](https://github.com/magnars/multiple-cursors.el/workflows/CI/badge.svg)](https://github.com/magnars/multiple-cursors.el/actions)
 
[![MELPA](https://melpa.org/packages/multiple-cursors-badge.svg)](https://melpa.org/#/multiple-cursors)
 [![MELPA 
Stable](https://stable.melpa.org/packages/multiple-cursors-badge.svg)](https://stable.melpa.org/#/multiple-cursors)
 [![NonGNU 
ELPA](https://elpa.nongnu.org/nongnu/multiple-cursors.svg)](https://elpa.nongnu.org/nongnu/multiple-cursors.html)
diff --git a/run-travis-ci.sh b/run-travis-ci.sh
deleted file mode 100755
index db1119a43b..0000000000
--- a/run-travis-ci.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh -e
-
-cd "$(dirname "$0")"
-
-ECUKES_EMACS=${EMACS:-$(which emacs)}
-export ECUKES_EMACS
-
-echo "*** Emacs version ***"
-echo "ECUKES_EMACS = $ECUKES_EMACS"
-"$ECUKES_EMACS" --version
-echo
-
-exec ./run-tests.sh $TAGS



reply via email to

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