Run vendor phpunit

pull/126/head
Pavel Djundik 7 years ago
parent 2b5724c479
commit bb3bb3e626

@ -1,7 +1,6 @@
sudo: false
language: php
php:
- 5.6
- 7.2
notifications:
@ -10,6 +9,6 @@ notifications:
install:
- composer install --dev --no-interaction
script:
- phpunit --configuration Tests/phpunit.xml
- ./vendor/bin/phpunit --configuration Tests/phpunit.xml
after_script:
- ./.codeclimate.sh

@ -1,4 +1,5 @@
<?php
use PHPUnit\Framework\TestCase;
use xPaw\SourceQuery\BaseSocket;
use xPaw\SourceQuery\Exception\InvalidPacketException;
use xPaw\SourceQuery\SourceQuery;
@ -61,7 +62,7 @@
}
}
class SourceQueryTests extends PHPUnit_Framework_TestCase
class SourceQueryTests extends TestCase
{
private $Socket;
private $SourceQuery;

@ -29,7 +29,7 @@
},
"require-dev":
{
"phpunit/phpunit": "4.8.*",
"phpunit/phpunit": "^6.0",
"codeclimate/php-test-reporter": "dev-master"
},
"autoload":

Loading…
Cancel
Save