Skip to content

Commit 5bd4258

Browse files
authored
Merge pull request anlutro#151 from anlutro/impl-github-actions
implement github actions
2 parents 6029f6a + 9fb3092 commit 5bd4258

File tree

4 files changed

+35
-36
lines changed

4 files changed

+35
-36
lines changed

.github/workflows/run-tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: run-tests
2+
3+
'on':
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
tags:
9+
- '**'
10+
pull_request:
11+
branches:
12+
- '**'
13+
schedule:
14+
- cron: '0 8 1 * *'
15+
16+
jobs:
17+
phpunit:
18+
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
php-version:
22+
- '7.2'
23+
- '7.3'
24+
- '7.4'
25+
- '8.0'
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: shivammathur/setup-php@v2
29+
with:
30+
php-version: ${{ matrix.php-version }}
31+
tools: composer
32+
- run: composer install --dev
33+
- run: ./vendor/bin/phpunit

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Persistent, application-wide settings for Laravel.
88

9-
Despite the package name, this package works with Laravel 4, 5, 6, 7 and 8!
9+
Despite the package name, this package should work with Laravel 4, 5, 6, 7 and 8 (though some versions are not automatically tested).
1010

1111
## Common problems
1212

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
}
1010
],
1111
"require": {
12-
"php": ">=5.4.0",
1312
"illuminate/support": ">=4.2 <9.0",
1413
"illuminate/cache": ">=4.2 <9.0"
1514
},
@@ -20,7 +19,7 @@
2019
"require-dev": {
2120
"phpunit/phpunit": "^8.0",
2221
"mockery/mockery": "^1.2",
23-
"laravel/framework": ">=4.2"
22+
"laravel/framework": ">=5.7"
2423
},
2524
"autoload": {
2625
"files": [

0 commit comments

Comments
 (0)