Reorganized directories structure

This commit is contained in:
Francis Besset
2013-07-19 11:28:23 +02:00
parent 9328c98935
commit b78bf408bf
136 changed files with 179 additions and 365 deletions

View File

@ -1,4 +1,3 @@
build/*
vendor/
composer.lock
phpunit.xml
vendor
*.swp

View File

@ -1,17 +0,0 @@
language: php
php:
- 5.3
- 5.4
- 5.5
matrix:
allow_failures:
- php: 5.5
before_script:
- composer self-update
- composer install --dev --prefer-source
notifications:
email: francis.besset@gmail.com

View File

@ -21,6 +21,7 @@
],
"require": {
"php": ">=5.3.0",
"ext-soap": "*",
"besimple/soap-common": "dev-master",
"ass/xmlsecurity": "dev-master",
"zendframework/zend-soap": "2.1.*",
@ -33,9 +34,8 @@
"besimple/soap-server": "dev-master"
},
"autoload": {
"psr-0": {
"BeSimple\\SoapBundle": ""
}
"psr-0": { "BeSimple\\SoapBundle": "" }
},
"target-dir": "BeSimple/SoapBundle"
"target-dir": "BeSimple/SoapBundle",
"minimum-stability": "dev"
}

View File

@ -13,24 +13,17 @@
>
<testsuites>
<testsuite name="SoapBundle Test Suite">
<testsuite name="BeSimple SoapBundle Test Suite">
<directory>./Tests</directory>
</testsuite>
</testsuites>
<!--
<logging>
<log type="coverage-html" target="build/coverage" />
</logging>
-->
<filter>
<whitelist>
<directory>.</directory>
<directory>./</directory>
<exclude>
<directory>Tests</directory>
<directory>vendor</directory>
<file>vendors.php</file>
<directory>./Tests/</directory>
<directory>./vendor/</directory>
</exclude>
</whitelist>
</filter>

View File

@ -1,41 +0,0 @@
#!/usr/bin/env php
<?php
/*
* This file is part of the BeSimpleSoapBundle.
*
* (c) Christian Kerl <christian-kerl@web.de>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/*
CAUTION: This file installs the dependencies needed to run the BeSimpleSoapBundle test suite.
https://github.com/BeSimple/BeSimpleSoapBundle
*/
if (!is_dir($vendorDir = dirname(__FILE__).'/vendor')) {
mkdir($vendorDir, 0777, true);
}
$deps = array(
array('symfony', 'http://github.com/symfony/symfony.git', 'origin/HEAD'),
array('zend-framework/library/Zend/Soap', 'http://github.com/BeSimple/zend-soap.git', 'origin/HEAD'),
array('zend-framework/library/Zend/Mime', 'http://github.com/BeSimple/zend-mime.git', 'origin/HEAD'),
);
foreach ($deps as $dep) {
list($name, $url, $rev) = $dep;
echo "> Installing/Updating $name\n";
$installDir = $vendorDir.'/'.$name;
if (!is_dir($installDir)) {
system(sprintf('git clone %s %s', escapeshellarg($url), escapeshellarg($installDir)));
}
system(sprintf('cd %s && git fetch origin && git reset --hard %s', escapeshellarg($installDir), escapeshellarg($rev)));
}