Skip to content

Commit 2b4b370

Browse files
committed
replace Travis CI with GitHub Actions
1 parent ca15d20 commit 2b4b370

File tree

2 files changed

+33
-27
lines changed

2 files changed

+33
-27
lines changed

.github/workflows/ci.yaml

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+
- 'pull_request'
6+
7+
jobs:
8+
tests:
9+
name: 'Validate fixtures'
10+
11+
runs-on: 'ubuntu-latest'
12+
13+
strategy:
14+
matrix:
15+
php_version:
16+
- '7.1'
17+
- '7.2'
18+
- '7.3'
19+
- '7.4'
20+
21+
steps:
22+
- name: 'Check out'
23+
uses: 'actions/checkout@v4'
24+
25+
- name: 'Set up PHP'
26+
uses: 'shivammathur/setup-php@v2'
27+
with:
28+
php-version: '${{ matrix.php_version }}'
29+
30+
- name: 'Install dependencies'
31+
run: 'composer update'
32+
33+
- run: 'php validate.php'

.travis.yml

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

0 commit comments

Comments
 (0)