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
|
||||
/phpunit.xml
|
||||
/.phpunit
|
||||
/Tests/Functional/cache
|
||||
/Tests/Functional/logs
|
||||
|
@ -8,6 +8,7 @@ sudo: false
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- .phpunit
|
||||
- $HOME/.composer/cache
|
||||
|
||||
branches:
|
||||
@ -22,4 +23,8 @@ matrix:
|
||||
- php: 7.0
|
||||
env: COMPOSER_FLAGS="--prefer-lowest"
|
||||
|
||||
before_install: phpenv config-rm xdebug.ini
|
||||
|
||||
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