Skip to content

Commit 2fa0d6f

Browse files
authored
Remove travis.yml, add test.yml github workflow (#1474)
* Remove travis.yml, add test.yml github workflow * Add workflow status badge
1 parent ad47644 commit 2fa0d6f

File tree

4 files changed

+37
-32
lines changed

4 files changed

+37
-32
lines changed

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
emacs_version:
12+
- 24.5
13+
- 25.3
14+
- 26.3
15+
- 27.1
16+
- snapshot
17+
steps:
18+
- uses: purcell/setup-emacs@master
19+
with:
20+
version: ${{ matrix.emacs_version }}
21+
22+
- uses: actions/checkout@v2
23+
24+
- name: Print emacs version
25+
run: |
26+
emacs --version
27+
28+
- name: Run tests
29+
run: |
30+
make test
31+
32+
- name: Print results
33+
if: ${{ always() }}
34+
run: |
35+
cat test-results.txt

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ clean:
5656
# make test TAG=repeat
5757
# This will only run tests pertaining to the repeat system.
5858
test:
59-
$(EMACS) -nw -Q -L . $(LIBS) -l evil-tests.el \
59+
$(EMACS) -nw -Q --batch -L . $(LIBS) -l evil-tests.el \
6060
--eval "(evil-tests-initialize '(${TAG}) '(${PROFILER}))"
6161

6262
# Byte-compile Evil and run all tests.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![An extensible vi layer for Emacs](https://raw.githubusercontent.com/emacs-evil/evil/master/doc/logo.png)
22

3-
[![Build Status](https://travis-ci.org/emacs-evil/evil.svg?branch=master)](https://travis-ci.org/emacs-evil/evil)
3+
[![Build status](https://github.com/emacs-evil/evil/actions/workflows/test.yml/badge.svg)](https://github.com/emacs-evil/evil/actions/workflows/test.yml)
44
[![MELPA](https://melpa.org/packages/evil-badge.svg)](https://melpa.org/#/evil)
55
[![MELPA Stable](https://stable.melpa.org/packages/evil-badge.svg)](https://stable.melpa.org/#/evil)
66
[![Documentation Status](https://readthedocs.org/projects/evil/badge/?version=latest)](https://evil.readthedocs.io/en/latest/?badge=latest)

0 commit comments

Comments
 (0)