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

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

[nongnu] elpa/d-mode daaa518 336/346: Migrate from Travis CI to GitHub A


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode daaa518 336/346: Migrate from Travis CI to GitHub Actions
Date: Sun, 29 Aug 2021 11:00:55 -0400 (EDT)

branch: elpa/d-mode
commit daaa5189e3094863440d8a64fef431e33e6e0eb9
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    Migrate from Travis CI to GitHub Actions
---
 .github/workflows/test.yml | 25 +++++++++++++++++++++++++
 .travis.yml                | 35 -----------------------------------
 README.md                  |  2 +-
 3 files changed, 26 insertions(+), 36 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..194af42
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,25 @@
+name: Test
+on: [ push, pull_request ]
+jobs:
+  test:
+    runs-on: ubuntu-20.04
+    strategy:
+      matrix:
+        emacs_version:
+        - 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: conao3/setup-cask@master
+    - uses: actions/checkout@v2
+    - name: Test
+      run: |
+        cask install
+        COVERALLS_PARALLEL=1 
COVERALLS_REPO_TOKEN=f3VyR3js03R8zyeA32NWscNBNTR7OYR5k make test
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0ceab33..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-# Based on https://github.com/flycheck/emacs-travis
-
-language: emacs-lisp
-sudo: required
-dist: trusty
-# Allow Emacs snapshot builds to fail and don’t wait for these as they can take
-# a looooong time
-matrix:
-  fast_finish: true
-  allow_failures:
-    - env: EMACS_VERSION=snapshot
-env:
-  - EMACS_VERSION=25.1
-  - EMACS_VERSION=25.2
-  - EMACS_VERSION=25.3
-  - EMACS_VERSION=26.1
-  - EMACS_VERSION=26.2
-  - EMACS_VERSION=26.3
-  - EMACS_VERSION=snapshot
-before_install:
-  # Configure $PATH: Executables are installed to $HOME/bin
-  - export PATH="$HOME/bin:$PATH"
-  # Download the makefile to emacs-travis.mk
-  - wget 
'https://raw.githubusercontent.com/CyberShadow/emacs-travis/patch-1/emacs-travis.mk'
-  # Install Emacs (according to $EMACS_VERSION) and Cask
-  - make -f emacs-travis.mk install_emacs
-  - make -f emacs-travis.mk install_cask
-install:
-  - cask install
-script:
-  # cask exec ert-runner
-  - emacs --version
-  - COVERALLS_PARALLEL=1 make test
-notifications:
-  webhooks: https://coveralls.io/webhook
diff --git a/README.md b/README.md
index b390766..c3bd5d8 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 # Emacs D Mode
 
 
[![Licence](https://img.shields.io/badge/license-GPL_2-green.svg)](https://www.gnu.org/licenses/gpl-2.0.txt)
-[![Build 
Status](https://travis-ci.org/Emacs-D-Mode-Maintainers/Emacs-D-Mode.svg)](https://travis-ci.org/Emacs-D-Mode-Maintainers/Emacs-D-Mode)
+[![Build 
Status](https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/workflows/Test/badge.svg)](https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/actions)
 [![Coverage 
Status](https://coveralls.io/repos/github/Emacs-D-Mode-Maintainers/Emacs-D-Mode/badge.svg?branch=master)](https://coveralls.io/github/Emacs-D-Mode-Maintainers/Emacs-D-Mode?branch=master)
 
[![MELPA](https://melpa.org/packages/d-mode-badge.svg)](https://melpa.org/#/d-mode)
 [![MELPA 
Stable](https://stable.melpa.org/packages/d-mode-badge.svg)](https://stable.melpa.org/#/d-mode)



reply via email to

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