aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-01-20 18:54:23 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-01-20 20:31:08 +0100
commit0beb9128f9a00024bd7d68d78f58b3d4cb6285af (patch)
treeeb90dfd23e9f92d63d56e21b0998c79177b3dcfd /travis
parentebbe6a77918717c9d0897698223c1b783159d67e (diff)
downloadforums-0beb9128f9a00024bd7d68d78f58b3d4cb6285af.tar
forums-0beb9128f9a00024bd7d68d78f58b3d4cb6285af.tar.gz
forums-0beb9128f9a00024bd7d68d78f58b3d4cb6285af.tar.bz2
forums-0beb9128f9a00024bd7d68d78f58b3d4cb6285af.tar.xz
forums-0beb9128f9a00024bd7d68d78f58b3d4cb6285af.zip
[ticket/13523] Install PHPUnit manually instead of from PEAR.
The pear.phpunit.de channel has been shut down in 2014. PHPBB3-13523
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/install-phpunit-5-2.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/travis/install-phpunit-5-2.sh b/travis/install-phpunit-5-2.sh
new file mode 100755
index 0000000000..28f9069960
--- /dev/null
+++ b/travis/install-phpunit-5-2.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# @copyright (c) 2015 phpBB Group
+# @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+#
+
+# $1 - URL to .tar.gz
+download() {
+ wget -q -O - "$1" | tar xzvf - --strip-components 1
+}
+
+mkdir phpunit
+cd phpunit
+download https://github.com/sebastianbergmann/phpunit/archive/3.6.12.tar.gz
+download https://github.com/sebastianbergmann/php-file-iterator/archive/1.3.1.tar.gz
+download https://github.com/sebastianbergmann/php-code-coverage/archive/1.1.3.tar.gz
+download https://github.com/sebastianbergmann/php-token-stream/archive/1.1.3.tar.gz
+download https://github.com/sebastianbergmann/php-text-template/archive/1.1.2.tar.gz
+download https://github.com/sebastianbergmann/php-timer/archive/1.0.2.tar.gz
+download https://github.com/sebastianbergmann/phpunit-mock-objects/archive/1.1.1.tar.gz
+download https://github.com/sebastianbergmann/dbunit/archive/1.1.2.tar.gz
+cd ..