Skip to content

Commit

Permalink
Restore support for PHP 5.5.9+ (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored May 3, 2020
1 parent 46cb272 commit 9329fb0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
42 changes: 29 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,36 @@ cache:
directories:
- "$HOME/.composer/cache"

php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- 'nightly'

matrix:
fast_finish: true
jobs:
include:
- php: '5.6'
- name: PHP 5.5.9
php: 5.5.9
dist: trusty
env: COMPOSER_FLAGS='--prefer-lowest'
- name: PHP 5.5
php: 5.5
dist: trusty
- name: PHP 5.6
php: 5.6
dist: xenial
- name: PHP 7.0
php: 7.0
dist: xenial
- name: PHP 7.1
php: 7.1
dist: bionic
- name: PHP 7.2
php: 7.2
dist: bionic
- name: PHP 7.3
php: 7.3
dist: bionic
- name: PHP 7.4
php: 7.4
dist: bionic
- name: PHP 8.0
php: nightly
dist: bionic
allow_failures:
- php: nightly

Expand All @@ -26,7 +42,7 @@ before_install:
- composer global require bamarni/composer-bin-plugin:dev-master

install:
- composer install
- composer update --no-interaction

script:
- vendor/bin/phpunit
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"license": "MIT",
"require": {
"php": "^5.6 || ^7.0 || ^8.0",
"php": "^5.5.9 || ^7.0 || ^8.0",
"composer-plugin-api": "^1.0 || ^2.0"
},
"require-dev": {
Expand Down

1 comment on commit 9329fb0

@GrahamCampbell
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you re-trigger travis please, since there is a delay for Packagist to pickup the commit to master.

Please sign in to comment.