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

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

[nongnu] elpa/buttercup d5c3ed5 289/340: Switch to Github Actions


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup d5c3ed5 289/340: Switch to Github Actions
Date: Thu, 16 Dec 2021 14:59:52 -0500 (EST)

branch: elpa/buttercup
commit d5c3ed5e9911eddf8c88de0865e1a56fde4a95d0
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>

    Switch to Github Actions
    
    Drop EVM (https://github.com/rejeep/evm) on travis-ci.org, use Github
    actions and https://github.com/purcell/setup-emacs instead.
---
 .github/workflows/test.yml | 37 +++++++++++++++++++++++++++++++++++++
 .travis.yml                | 17 -----------------
 README.md                  |  2 +-
 3 files changed, 38 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..694fbd7
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,37 @@
+name: Build and test
+
+on:
+  pull_request:
+  push:
+    paths-ignore:
+    - 'bin/*'
+    - 'docs/images/*'
+    - 'docs/running-tests.md'
+    - 'scripts'
+
+jobs:
+  build:
+    name: Build and test
+    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
+          - snapshot
+    steps:
+    - uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+
+    - uses: actions/checkout@v2
+    - name: Run tests
+      run: make test
+
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 74c768e..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-language: emacs-lisp
-dist: xenial
-env:
-  - EVM_EMACS=emacs-24.3-travis
-  - EVM_EMACS=emacs-24.4-travis
-  - EVM_EMACS=emacs-24.5-travis
-  - EVM_EMACS=emacs-25.1-travis
-  - EVM_EMACS=emacs-25.2-travis
-  - EVM_EMACS=emacs-26.1-travis-linux-xenial
-  - EVM_EMACS=emacs-26.2-travis-linux-xenial
-  - EVM_EMACS=emacs-26.3-travis-linux-xenial
-before_install:
-  - sudo apt-get install libgnutls30
-  - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > 
travis.sh && source ./travis.sh
-  - evm install "$EVM_EMACS" --use --skip
-script:
-  - make test
diff --git a/README.md b/README.md
index 18907bd..4bb1e5d 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Buttercup — Behavior-Driven Emacs Lisp Testing
 
-[![Build 
Status](https://api.travis-ci.org/jorgenschaefer/emacs-buttercup.svg?branch=master)](https://travis-ci.org/jorgenschaefer/emacs-buttercup)
+[![Build and 
test](https://github.com/jorgenschaefer/emacs-buttercup/workflows/Build%20and%20test/badge.svg)](https://github.com/jorgenschaefer/emacs-buttercup/actions?query=workflow%3A%22Build+and+test%22+branch%3Amaster)
 [![MELPA 
Stable](http://stable.melpa.org/packages/buttercup-badge.svg)](http://stable.melpa.org/#/buttercup)
 
 ![Ranculus repens, photo by sannse](docs/images/buttercup.jpg)



reply via email to

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