Skip to content

Commit 2c9329b

Browse files
Using GitHub Actions instead of TravisCI
1 parent 762e4ce commit 2c9329b

File tree

2 files changed

+31
-26
lines changed

2 files changed

+31
-26
lines changed

.github/workflows/commit.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Commit
2+
3+
on: push
4+
5+
jobs:
6+
build_and_test:
7+
name: Get Build Version
8+
9+
runs-on: ubuntu-20.04
10+
11+
strategy:
12+
matrix:
13+
php: [8.0, 8.1]
14+
15+
steps:
16+
- name: Setup PHP
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: "${{ matrix.php }}"
20+
21+
- name: Checkout current commit
22+
uses: actions/[email protected]
23+
24+
- name: Update composer
25+
run: composer self-update
26+
27+
- name: Install composer dependencies
28+
run: composer install --no-interaction
29+
30+
- name: Test
31+
run: composer test

.travis.yml

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

0 commit comments

Comments
 (0)