Skip to content

Commit 8aef814

Browse files
committed
Replace travis with GitHub Actions
1 parent 2e7948c commit 8aef814

File tree

2 files changed

+32
-15
lines changed

2 files changed

+32
-15
lines changed

.github/workflows/ci.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on:
2+
- pull_request
3+
- push
4+
5+
name: CI
6+
7+
jobs:
8+
run:
9+
name: Tests
10+
11+
strategy:
12+
matrix:
13+
operating-system: [ubuntu-latest]
14+
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0']
15+
16+
runs-on: ${{ matrix.operating-system }}
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
22+
- name: Install PHP
23+
uses: shivammathur/setup-php@v2
24+
with:
25+
php-version: ${{ matrix.php-versions }}
26+
extensions: sockets, json, curl
27+
28+
- name: Install dependencies with composer
29+
run: composer install
30+
31+
- name: Run tests
32+
run: make test

.travis.yml

-15
This file was deleted.

0 commit comments

Comments
 (0)