Skip to content

Commit

Permalink
Drop old php versions (#17)
Browse files Browse the repository at this point in the history
* Update PHP version

* Try fixing libonig5 related error when testing 8.2 PHP version

* Checking PHP version in travis

* Do not allow job failures

Fix #15
  • Loading branch information
slunak authored Dec 31, 2022
1 parent 76b416e commit de3a75b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
16 changes: 6 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
language: php
jobs:
allow_failures:
- php: 8.2
include:
- php: 7.1
dist: xenial
- php: 7.2
dist: xenial
- php: 7.3
dist: xenial
- php: 7.4
dist: focal
- php: 8.0
dist: focal
- php: 8.1
dist: focal
- php: 8.2
dist: jammy
install: composer install
dist: focal
install:
- sudo apt-get update
- sudo apt-get install libonig5
- composer install
- php -v
script: ./vendor/bin/phpunit tests
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ plus its curl and json extensions. See below the `require` section of project's
```json
{
"require": {
"php": ">=7.1",
"php": ">=7.4",
"ext-curl": "*",
"ext-json": "*"
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": ["pushover", "pushover.net", "wrapper", "client"],
"homepage": "https://github.com/slunak/pushover-php",
"require": {
"php": ">=7.1",
"php": ">=7.4",
"ext-curl": "*",
"ext-json": "*"
},
Expand Down

0 comments on commit de3a75b

Please sign in to comment.