branch: elpa/d-mode
commit daaa5189e3094863440d8a64fef431e33e6e0eb9
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
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
[](https://www.gnu.org/licenses/gpl-2.0.txt)
-[](https://travis-ci.org/Emacs-D-Mode-Maintainers/Emacs-D-Mode)
+[](https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/actions)
[](https://coveralls.io/github/Emacs-D-Mode-Maintainers/Emacs-D-Mode?branch=master)
[](https://melpa.org/#/d-mode)
[](https://stable.melpa.org/#/d-mode)