branch: elpa/extmap
commit a2096d357b315cbb74de8924d5b63bd3656fefae
Author: Paul Pogonyshev <pogonys...@gmail.com>
Commit: Paul Pogonyshev <pogonys...@gmail.com>

    Use GitHub workflows for continuous integration instead of Travis CI.
---
 .github/workflows/test.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++
 .travis.yml                | 24 ------------------------
 2 files changed, 45 insertions(+), 24 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..ef1b18a9ce
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,45 @@
+name: CI
+
+on:
+  push:
+    paths-ignore:
+      - '**.md'
+  pull_request:
+    paths-ignore:
+      - '**.md'
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        emacs_version:
+          # Not supported by Eldev; not terribly important.
+          # - 24.1
+          # - 24.2
+          # - 24.3
+          - 24.4
+          - 24.5
+          - 25.1
+          - 25.2
+          - 25.3
+          - 26.1
+          - 26.2
+          - 26.3
+
+    steps:
+    - name: Set up Emacs
+      uses: purcell/setup-emacs@master
+      with:
+        version: ${{matrix.emacs_version}}
+
+    - name: Install Eldev
+      run: curl -fsSL 
https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh
+
+    - name: Check out the source code
+      uses: actions/checkout@v2
+
+    - name: Test the project
+      run: |
+        eldev -p -dtT test --expect 5
+        eldev -dtT compile --warnings-as-errors
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 20a4d52f2d..0000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-language: emacs-lisp
-dist: trusty
-
-install:
-  - curl -fsSL 
https://raw.github.com/doublep/eldev/master/webinstall/travis-eldev-and-evm > 
x.sh && source ./x.sh
-  - evm install $EVM_EMACS --use
-
-env:
-  # Not supported by Eldev; not terribly important.
-  # - EVM_EMACS=emacs-24.1-travis
-  # - EVM_EMACS=emacs-24.2-travis
-  # - 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-25.3-travis
-  - EVM_EMACS=emacs-26.1-travis
-  - EVM_EMACS=emacs-26.2-travis
-  - EVM_EMACS=emacs-26.3-travis
-
-script:
-  - eldev -p -dtT test --expect 5
-  - eldev -dtT compile --warnings-as-errors

Reply via email to