summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2023-04-10 15:23:28 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2023-04-11 07:47:32 +0100
commita2890a5f06817d250a614d5f272afad908005cb6 (patch)
tree91b4e61397d2d90ae56a081a66646e895f77c98b
parent006fe4d345b70a896213322871ccf08073b14c85 (diff)
downloadbog-a2890a5f06817d250a614d5f272afad908005cb6.tar.gz
Replace Travis with GitHub CI.
* .github/workflows/test.yml: New file. * .travis.yml: Delete file.
-rw-r--r--.github/workflows/test.yml38
-rw-r--r--.travis.yml24
2 files changed, 38 insertions, 24 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..4ad449e
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,38 @@
+name: CI
+on: [push, pull_request]
+permissions: {}
+
+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.1
+ - 27.2
+ - 28.1
+ - 28.2
+ - release-snapshot
+ - snapshot
+
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ persist-credentials: false
+
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - run: make all
+ - run: make test
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index bb28881..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-sudo: false
-language: generic
-env:
- global:
- - CURL="curl -fsSkL --retry 9 --retry-delay 9"
- - GHRAW="https://raw.githubusercontent.com"
- matrix:
- - EMACS_VERSION=26.3
- - EMACS_VERSION=master
- allow_failures:
- - env: EMACS_VERSION=master
-
-install:
- - $CURL -O https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
- - tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
- - export EMACS=/tmp/emacs/bin/emacs
-
-script:
- make test EMACS=${EMACS}
-
-notifications:
- email:
- on_success: never
- on_failure: always