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_USER: test
|
||||||
POSTGRES_PASSWORD: test
|
POSTGRES_PASSWORD: test
|
||||||
|
|
||||||
test:7:
|
|
||||||
image: php:7
|
|
||||||
script:
|
|
||||||
- phpunit -c build --no-coverage
|
|
||||||
|
|
||||||
test:7.1:
|
test:7.1:
|
||||||
image: php:7.1
|
image: php:7.1
|
||||||
script:
|
script:
|
||||||
|
@ -3,10 +3,8 @@ sudo: false
|
|||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 7
|
|
||||||
- 7.1
|
- 7.1
|
||||||
- 7.2
|
- 7.2
|
||||||
- hhvm
|
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
@ -27,6 +25,4 @@ after_script:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: 7
|
|
||||||
- php: nightly
|
- php: nightly
|
||||||
- php: hhvm
|
|
||||||
|
@ -106,7 +106,7 @@ final class ConnectionManager {
|
|||||||
{
|
{
|
||||||
return $this->connections[$name];
|
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);
|
return end($this->connections);
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,6 @@ namespace Query\Tests {
|
|||||||
{
|
{
|
||||||
$class = \get_class($this);
|
$class = \get_class($this);
|
||||||
|
|
||||||
echo '<pre>';
|
|
||||||
echo 'Ran test suite: ' . $class . '<br />';
|
echo 'Ran test suite: ' . $class . '<br />';
|
||||||
|
|
||||||
if (method_exists($class, 'setupBeforeClass')) {
|
if (method_exists($class, 'setupBeforeClass')) {
|
||||||
@ -49,8 +48,6 @@ namespace Query\Tests {
|
|||||||
{
|
{
|
||||||
$class = \get_class($this);
|
$class = \get_class($this);
|
||||||
|
|
||||||
echo '</pre>';
|
|
||||||
|
|
||||||
if (method_exists($class, 'tearDownAfterClass')) {
|
if (method_exists($class, 'tearDownAfterClass')) {
|
||||||
$class::tearDownAfterClass();
|
$class::tearDownAfterClass();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user