Skip to content

Commit 2b07fa6

Browse files
authored
Merge pull request #588 from emacs-php/migrate/ci-to-github-actions
Migrate CI to GitHub Actions
2 parents 9c53928 + b8055bd commit 2b07fa6

File tree

3 files changed

+34
-28
lines changed

3 files changed

+34
-28
lines changed

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- '**/*.md'
7+
- 'etc/*'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
emacs_version:
15+
- "24.4"
16+
- "24.5"
17+
- "25.1"
18+
- "25.2"
19+
- "25.3"
20+
- "26.1"
21+
- "26.2"
22+
- "26.3"
23+
- snapshot
24+
env:
25+
EMACS_LINT_IGNORE: ${{ matrix.lint_ignore }}
26+
steps:
27+
- uses: purcell/setup-emacs@master
28+
with:
29+
version: ${{ matrix.emacs_version }}
30+
31+
- uses: actions/checkout@v1
32+
- name: Run tests
33+
run: 'make test'

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PHP Mode for GNU Emacs
44
[![Emacs: 26.3](https://img.shields.io/badge/Emacs-26.3-blue.svg)](https://www.gnu.org/software/emacs/)
55
[![lang: PHP 7](https://img.shields.io/badge/lang-PHP%207-brightgreen.svg)](http://php.net/manual/migration70.php)
66
[![lang: PHP 5](https://img.shields.io/badge/lang-PHP%205-green.svg)](http://php.net/downloads.php)
7-
[![travis badge][travis-badge]][travis-link]
7+
[![Build Status](https://github.com/emacs-php/php-mode/workflows/CI/badge.svg)](https://github.com/emacs-php/php-mode/actions)
88
[![melpa badge][melpa-badge]][melpa-link]
99
[![melpa stable badge][melpa-stable-badge]][melpa-stable-link]
1010
[![GPL v3](https://img.shields.io/badge/license-GPL_v3-green.svg)](http://www.gnu.org/licenses/gpl-3.0.txt)

0 commit comments

Comments
 (0)