mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
commit
c3e285f08d
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,5 +4,6 @@
|
|||||||
/.php_cs.cache
|
/.php_cs.cache
|
||||||
/.php_cs
|
/.php_cs
|
||||||
/phpunit.xml
|
/phpunit.xml
|
||||||
|
/.phpunit
|
||||||
/Tests/Functional/cache
|
/Tests/Functional/cache
|
||||||
/Tests/Functional/logs
|
/Tests/Functional/logs
|
||||||
|
@ -8,6 +8,7 @@ sudo: false
|
|||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
- .phpunit
|
||||||
- $HOME/.composer/cache
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
@ -22,4 +23,8 @@ matrix:
|
|||||||
- php: 7.0
|
- php: 7.0
|
||||||
env: COMPOSER_FLAGS="--prefer-lowest"
|
env: COMPOSER_FLAGS="--prefer-lowest"
|
||||||
|
|
||||||
|
before_install: phpenv config-rm xdebug.ini
|
||||||
|
|
||||||
install: composer update $COMPOSER_FLAGS
|
install: composer update $COMPOSER_FLAGS
|
||||||
|
|
||||||
|
script: ./phpunit
|
||||||
|
8
phpunit
Executable file
8
phpunit
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env php
|
||||||
|
<?php
|
||||||
|
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
|
||||||
|
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
|
||||||
|
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';
|
Loading…
x
Reference in New Issue
Block a user