|
|
@@ -11,30 +11,19 @@ pear uninstall -n pear.phpunit.de/PHP_Timer
|
|
|
# Install PHPUnit from git (only possibility for PHPUnit 3.6)
|
|
|
cd tests
|
|
|
mkdir phpunit && cd phpunit
|
|
|
-git clone git://github.com/sebastianbergmann/phpunit.git
|
|
|
-git clone git://github.com/sebastianbergmann/dbunit.git
|
|
|
-git clone git://github.com/sebastianbergmann/php-file-iterator.git
|
|
|
-git clone git://github.com/sebastianbergmann/php-text-template.git
|
|
|
-git clone git://github.com/sebastianbergmann/php-code-coverage.git
|
|
|
-git clone git://github.com/sebastianbergmann/php-token-stream.git
|
|
|
-git clone git://github.com/sebastianbergmann/php-timer.git
|
|
|
-git clone git://github.com/sebastianbergmann/phpunit-mock-objects.git
|
|
|
-git clone git://github.com/sebastianbergmann/phpunit-selenium.git
|
|
|
-git clone git://github.com/sebastianbergmann/phpunit-story.git
|
|
|
-git clone git://github.com/sebastianbergmann/php-invoker.git
|
|
|
|
|
|
# last versions without anonymous functions
|
|
|
-cd dbunit && git checkout 1.1 && cd ..
|
|
|
-cd php-code-coverage && git checkout 1.1 && cd ..
|
|
|
-cd php-file-iterator && git checkout 1.3.2 && cd ..
|
|
|
-cd php-invoker && git checkout 1.1.1 && cd ..
|
|
|
-cd php-text-template && git checkout 1.1.2 && cd ..
|
|
|
-cd php-timer && git checkout 1.0.3 && cd ..
|
|
|
-cd php-token-stream && git checkout 1.1.4 && cd ..
|
|
|
-cd phpunit && git checkout 3.6.12 && cd ..
|
|
|
-cd phpunit-mock-objects && git checkout 1.1 && cd ..
|
|
|
-cd phpunit-selenium && git checkout 1.1 && cd ..
|
|
|
-cd phpunit-story && git checkout 1.0.0 && cd ..
|
|
|
+git clone --depth=1 --branch=3.6.12 git://github.com/sebastianbergmann/phpunit.git
|
|
|
+git clone --depth=1 --branch=1.1 git://github.com/sebastianbergmann/dbunit.git
|
|
|
+git clone --depth=1 --branch=1.3.2 git://github.com/sebastianbergmann/php-file-iterator.git
|
|
|
+git clone --depth=1 --branch=1.1.2 git://github.com/sebastianbergmann/php-text-template.git
|
|
|
+git clone --depth=1 --branch=1.1 git://github.com/sebastianbergmann/php-code-coverage.git
|
|
|
+git clone --depth=1 --branch=1.1.4 git://github.com/sebastianbergmann/php-token-stream.git
|
|
|
+git clone --depth=1 --branch=1.0.3 git://github.com/sebastianbergmann/php-timer.git
|
|
|
+git clone --depth=1 --branch=1.1 git://github.com/sebastianbergmann/phpunit-mock-objects.git
|
|
|
+git clone --depth=1 --branch=1.1 git://github.com/sebastianbergmann/phpunit-selenium.git
|
|
|
+git clone --depth=1 --branch=1.0.0 git://github.com/sebastianbergmann/phpunit-story.git
|
|
|
+git clone --depth=1 --branch=1.1.1 git://github.com/sebastianbergmann/php-invoker.git
|
|
|
|
|
|
sed -i 's/@package_version@/3.6.12/g' phpunit/PHPUnit/Runner/Version.php
|
|
|
cat phpunit/PHPUnit/Runner/Version.php
|