Skip to content

Commit 67bbadd

Browse files
committed
removed travis
1 parent 1018632 commit 67bbadd

File tree

2 files changed

+37
-20
lines changed

2 files changed

+37
-20
lines changed

.github/workflows/tests.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
8+
name: PHP ${{ matrix.php }}
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
php: ['7.3', '7.4', '8.0', '8.1']
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
20+
- name: Cache composer
21+
uses: actions/cache@v1
22+
with:
23+
path: ~/.composer/cache/files
24+
key: php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
25+
26+
- name: Setup PHP
27+
uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: ${{ matrix.php }}
30+
extension-csv: bcmath, ctype, dom, fileinfo, intl, gd, json, mbstring, pdo, pdo_sqlite, openssl, sqlite, xml, zip
31+
coverage: none
32+
33+
- name: Install composer
34+
run: composer install --no-interaction --no-scripts --no-suggest --prefer-source
35+
36+
- name: Execute tests
37+
run: vendor/bin/phpunit

.travis.yml

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

0 commit comments

Comments
 (0)