mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-06-28 04:43:14 +02:00
Run vendor phpunit
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 5.6
|
|
||||||
- 7.2
|
- 7.2
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
@@ -10,6 +9,6 @@ notifications:
|
|||||||
install:
|
install:
|
||||||
- composer install --dev --no-interaction
|
- composer install --dev --no-interaction
|
||||||
script:
|
script:
|
||||||
- phpunit --configuration Tests/phpunit.xml
|
- ./vendor/bin/phpunit --configuration Tests/phpunit.xml
|
||||||
after_script:
|
after_script:
|
||||||
- ./.codeclimate.sh
|
- ./.codeclimate.sh
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
use xPaw\SourceQuery\BaseSocket;
|
use xPaw\SourceQuery\BaseSocket;
|
||||||
use xPaw\SourceQuery\Exception\InvalidPacketException;
|
use xPaw\SourceQuery\Exception\InvalidPacketException;
|
||||||
use xPaw\SourceQuery\SourceQuery;
|
use xPaw\SourceQuery\SourceQuery;
|
||||||
@@ -61,7 +62,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SourceQueryTests extends PHPUnit_Framework_TestCase
|
class SourceQueryTests extends TestCase
|
||||||
{
|
{
|
||||||
private $Socket;
|
private $Socket;
|
||||||
private $SourceQuery;
|
private $SourceQuery;
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"require-dev":
|
"require-dev":
|
||||||
{
|
{
|
||||||
"phpunit/phpunit": "4.8.*",
|
"phpunit/phpunit": "^6.0",
|
||||||
"codeclimate/php-test-reporter": "dev-master"
|
"codeclimate/php-test-reporter": "dev-master"
|
||||||
},
|
},
|
||||||
"autoload":
|
"autoload":
|
||||||
|
|||||||
Reference in New Issue
Block a user