@@ -11,30 +11,19 @@ pear uninstall -n pear.phpunit.de/PHP_Timer
11
11
# Install PHPUnit from git (only possibility for PHPUnit 3.6)
12
12
cd tests
13
13
mkdir phpunit && cd phpunit
14
- git clone git://github.com/sebastianbergmann/phpunit.git
15
- git clone git://github.com/sebastianbergmann/dbunit.git
16
- git clone git://github.com/sebastianbergmann/php-file-iterator.git
17
- git clone git://github.com/sebastianbergmann/php-text-template.git
18
- git clone git://github.com/sebastianbergmann/php-code-coverage.git
19
- git clone git://github.com/sebastianbergmann/php-token-stream.git
20
- git clone git://github.com/sebastianbergmann/php-timer.git
21
- git clone git://github.com/sebastianbergmann/phpunit-mock-objects.git
22
- git clone git://github.com/sebastianbergmann/phpunit-selenium.git
23
- git clone git://github.com/sebastianbergmann/phpunit-story.git
24
- git clone git://github.com/sebastianbergmann/php-invoker.git
25
14
26
15
# last versions without anonymous functions
27
- cd dbunit && git checkout 1.1 && cd ..
28
- cd php-code-coverage && git checkout 1.1 && cd ..
29
- cd php-file-iterator && git checkout 1.3.2 && cd ..
30
- cd php-invoker && git checkout 1. 1.1 && cd ..
31
- cd php-text-template && git checkout 1.1.2 && cd ..
32
- cd php-timer && git checkout 1.0.3 && cd ..
33
- cd php-token-stream && git checkout 1.1.4 && cd ..
34
- cd phpunit && git checkout 3.6.12 && cd ..
35
- cd phpunit-mock-objects && git checkout 1.1 && cd ..
36
- cd phpunit-selenium && git checkout 1.1 && cd ..
37
- cd phpunit-story && git checkout 1.0.0 && cd ..
16
+ git clone --depth=1 --branch=3.6.12 git://github.com/sebastianbergmann/phpunit.git
17
+ git clone --depth=1 --branch= 1.1 git://github.com/sebastianbergmann/dbunit.git
18
+ git clone --depth=1 --branch= 1.3.2 git://github.com/sebastianbergmann/php-file-iterator.git
19
+ git clone --depth=1 --branch= 1.1.2 git://github.com/sebastianbergmann/php-text-template.git
20
+ git clone --depth=1 --branch= 1.1 git://github.com/sebastianbergmann/php-code-coverage.git
21
+ git clone --depth=1 --branch=1.1.4 git://github.com/sebastianbergmann/php-token-stream.git
22
+ git clone --depth=1 --branch=1.0.3 git://github.com/sebastianbergmann/php-timer.git
23
+ git clone --depth=1 --branch=1.1 git://github.com/sebastianbergmann/phpunit-mock-objects.git
24
+ git clone --depth=1 --branch= 1.1 git://github.com/sebastianbergmann/phpunit-selenium.git
25
+ git clone --depth=1 --branch=1.0.0 git://github.com/sebastianbergmann/phpunit-story.git
26
+ git clone --depth=1 --branch=1.1.1 git://github.com/sebastianbergmann/php-invoker.git
38
27
39
28
sed -i ' s/@package_version@/3.6.12/g' phpunit/PHPUnit/Runner/Version.php
40
29
cat phpunit/PHPUnit/Runner/Version.php
0 commit comments