Run vendor phpunit

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

@ -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

@ -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;

@ -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":

Loading…
Cancel
Save