aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantine Vetoshev <gepardcv@gmail.com>2021-07-06 11:21:32 -0700
committerConstantine Vetoshev <gepardcv@gmail.com>2021-07-06 12:10:56 -0700
commitb847965128695ac6e18a7a218e6e2d2d5a1bd8c9 (patch)
tree1ad5869029448a919b347cde8fa6eb9a5cb2e787
parent2ff458a4f4bd4496a45f7946dd0c445616d3fb5e (diff)
Replace Travis with GitHub Actions.
travis-ci.org was deprecated on 2021-06-15.
-rw-r--r--.github/workflows/test-perspective.yml25
-rw-r--r--.travis.yml16
-rw-r--r--README.md2
3 files changed, 27 insertions, 16 deletions
diff --git a/.github/workflows/test-perspective.yml b/.github/workflows/test-perspective.yml
new file mode 100644
index 0000000..95bfb2b
--- /dev/null
+++ b/.github/workflows/test-perspective.yml
@@ -0,0 +1,25 @@
+name: Perspective tests
+on: [push, pull_request]
+jobs:
+ test-perspective:
+ runs-on: ubuntu-20.04
+ strategy:
+ fail-fast: false
+ matrix:
+ emacs-version:
+ - 27.2
+ - 27.1
+ - 26.3
+ - 25.3
+ - 24.4
+ steps:
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs-version }}
+ - uses: actions/checkout@v2
+ - name: Emacs version
+ run: |
+ emacs --version
+ - name: Run tests
+ run: |
+ make
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 7de034e..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-sudo: required
-# for evm binaries
-dist: trusty
-env:
- - EMACS_EVM_TAG=27.1-travis-linux-trusty
- - EMACS_EVM_TAG=26.3-travis
- - EMACS_EVM_TAG=25.3-travis
- - EMACS_EVM_TAG=24.4-travis
-script:
- - cd $TRAVIS_BUILD_DIR
- - git clone https://github.com/rejeep/evm ${TRAVIS_BUILD_DIR}/.evm
- - export PATH=${TRAVIS_BUILD_DIR}/.evm/bin:${PATH}
- - evm config path /tmp
- - evm install emacs-${EMACS_EVM_TAG} --use --skip
- - emacs --version
- - make
diff --git a/README.md b/README.md
index afd0062..898c979 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# Perspective for Emacs
+![Test perspective](https://github.com/nex3/perspective-el/actions/workflows/test-perspective.yml/badge.svg)
+
## Description
The Perspective package provides multiple named workspaces (or "perspectives")