Skip to content

Commit 1500055

Browse files
authored
Add GitHub Actions (#18)
1 parent e261769 commit 1500055

File tree

5 files changed

+291
-220
lines changed

5 files changed

+291
-220
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://bit.ly/CodelyTvPro

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, windows-latest, macOS-latest]
11+
php-versions: ['7.2', '7.3', '7.4']
12+
13+
name: Test on ${{ matrix.os }} with PHP ${{ matrix.php-versions }}
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Setup PHP
19+
uses: shivammathur/setup-php@v1
20+
with:
21+
php-version: ${{ matrix.php-versions }}
22+
coverage: none
23+
24+
- name: Install dependencies
25+
run: composer install --ignore-platform-reqs
26+
27+
- name: Run the tests
28+
run: composer phpunit

.travis.yml

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

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"boilerplate"
1111
],
1212
"homepage": "https://codely.tv",
13-
"time": "2018-07-18",
1413
"license": "MIT",
1514
"authors": [
1615
{
@@ -27,14 +26,14 @@
2726
}
2827
],
2928
"require": {
30-
"php": "^7.2"
29+
"php": ">=7.2"
3130
},
3231
"require-dev": {
3332
"jakub-onderka/php-parallel-lint": "^1.0",
34-
"jakub-onderka/php-console-highlighter": "^0.3",
35-
"squizlabs/php_codesniffer": "^3.3",
33+
"jakub-onderka/php-console-highlighter": "^0.4",
34+
"squizlabs/php_codesniffer": "^3.5",
3635
"phpunit/phpunit": "^7.2",
37-
"symfony/var-dumper": "^4.1"
36+
"symfony/var-dumper": "^4.4"
3837
},
3938
"autoload": {
4039
"psr-4": {

0 commit comments

Comments
 (0)