Skip to content

Commit f3afed1

Browse files
#242: Removed Travis CI in favor of GitHub Actions
1 parent c7dd068 commit f3afed1

File tree

2 files changed

+31
-26
lines changed

2 files changed

+31
-26
lines changed

.github/workflows/build.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: 'Build'
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
phpunit:
8+
name: 'PHPUnit'
9+
runs-on: 'ubuntu-24.04'
10+
strategy:
11+
matrix:
12+
include:
13+
- php: '8.0'
14+
- php: '8.1'
15+
- php: '8.3'
16+
fail-fast: false
17+
steps:
18+
- name: 'Checkout'
19+
uses: 'actions/checkout@v4'
20+
- name: 'Setup PHP'
21+
uses: 'shivammathur/setup-php@v2'
22+
with:
23+
php-version: "${{ matrix.php }}"
24+
- name: 'Composer Install'
25+
uses: 'ramsey/composer-install@v3'
26+
- name: 'PHPUnit'
27+
run: 'XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml'
28+
- name: 'Code Climate'
29+
uses: 'paambaati/codeclimate-action@v6'
30+
env:
31+
CC_TEST_REPORTER_ID: '48efddaa8b8e9926721d2b2fbcb02dd18d70c383aea2a4dc29c6076385ccfd2e'

.travis.yml

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

0 commit comments

Comments
 (0)