Skip to content

Commit 15a8628

Browse files
Dropped support for PHP 5.5
1 parent 4d0e0e8 commit 15a8628

File tree

2 files changed

+26
-20
lines changed

2 files changed

+26
-20
lines changed

.travis.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1-
language: php
2-
3-
sudo: false
1+
dist: xenial
42

53
matrix:
64
include:
7-
- php: 5.5.9
8-
- php: 5.5
9-
- php: 5.6
10-
- php: 7.0
11-
- php: 7.1
12-
- php: 7.2
13-
- php: hhvm
14-
dist: trusty
5+
- env:
6+
- PHP_VERSION=5.6
7+
- env:
8+
- PHP_VERSION=7.0
9+
- env:
10+
- PHP_VERSION=7.1
11+
- env:
12+
- PHP_VERSION=7.2
13+
- env:
14+
- PHP_VERSION=7.3
1515

1616
before_install:
17-
- if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo 'hhvm.jit = false' >> /etc/hhvm/php.ini ; fi
18-
- composer self-update --stable -n
17+
- travis_retry docker pull registry.gitlab.com/grahamcampbell/php:$PHP_VERSION
18+
19+
install:
20+
- travis_retry docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint composer registry.gitlab.com/grahamcampbell/php:$PHP_VERSION install --no-suggest --prefer-dist -n -o
1921

20-
install: travis_retry composer install --no-suggest --prefer-dist -n -o
22+
script:
23+
- docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpunit registry.gitlab.com/grahamcampbell/php:$PHP_VERSION --coverage-clover build/logs/clover.xml
2124

22-
script: vendor/bin/phpunit
25+
after_script:
26+
- travis_retry docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint ocular registry.gitlab.com/grahamcampbell/php:$PHP_VERSION code-coverage:upload --format=php-clover build/logs/clover.xml

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
}
1515
],
1616
"require":{
17-
"php": ">=5.5.9",
18-
"classpreloader/classpreloader": "^3.0",
17+
"php": "^5.6|^7.0",
18+
"classpreloader/classpreloader": "^4.0",
1919
"symfony/console": "^2.3|^3.0|^4.0"
2020
},
2121
"require-dev":{
22-
"phpunit/phpunit": "^4.8|^5.0"
22+
"phpunit/phpunit": "^5.7|^6.5"
2323
},
2424
"autoload": {
2525
"psr-4": {
@@ -35,7 +35,9 @@
3535
},
3636
"extra": {
3737
"branch-alias": {
38-
"dev-master": "2.1-dev"
38+
"dev-master": "3.0-dev"
3939
}
40-
}
40+
},
41+
"minimum-stability": "dev",
42+
"prefer-stable": true
4143
}

0 commit comments

Comments
 (0)