Update builds to remove PHP 7 support
This commit is contained in:
parent
908b9f39cd
commit
516ddcd76d
@ -15,11 +15,6 @@ variables:
|
||||
POSTGRES_USER: test
|
||||
POSTGRES_PASSWORD: test
|
||||
|
||||
test:7:
|
||||
image: php:7
|
||||
script:
|
||||
- phpunit -c build --no-coverage
|
||||
|
||||
test:7.1:
|
||||
image: php:7.1
|
||||
script:
|
||||
|
@ -3,10 +3,8 @@ sudo: false
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 7
|
||||
- 7.1
|
||||
- 7.2
|
||||
- hhvm
|
||||
- nightly
|
||||
|
||||
before_script:
|
||||
@ -27,6 +25,4 @@ after_script:
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: 7
|
||||
- php: nightly
|
||||
- php: hhvm
|
||||
|
@ -106,7 +106,7 @@ final class ConnectionManager {
|
||||
{
|
||||
return $this->connections[$name];
|
||||
}
|
||||
elseif (empty($name) && ! empty($this->connections)) // Otherwise, return the last one
|
||||
else if (empty($name) && ! empty($this->connections)) // Otherwise, return the last one
|
||||
{
|
||||
return end($this->connections);
|
||||
}
|
||||
|
@ -35,7 +35,6 @@ namespace Query\Tests {
|
||||
{
|
||||
$class = \get_class($this);
|
||||
|
||||
echo '<pre>';
|
||||
echo 'Ran test suite: ' . $class . '<br />';
|
||||
|
||||
if (method_exists($class, 'setupBeforeClass')) {
|
||||
@ -49,8 +48,6 @@ namespace Query\Tests {
|
||||
{
|
||||
$class = \get_class($this);
|
||||
|
||||
echo '</pre>';
|
||||
|
||||
if (method_exists($class, 'tearDownAfterClass')) {
|
||||
$class::tearDownAfterClass();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user