Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-03-09 18:45:30 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-03-09 18:45:30 +0400
commite1d5ccb487c261c7e71d8c64d28f3f7de13d34aa (patch)
tree9326205317104426b3b831838e2ed13b80cd42c0 /tests/travis
parentdff730438240e7ea52fc425c0440dd03ab33ed8e (diff)
Restructure travis build.
This now builds PHP 5.3/5.4/5.5 x 3 Testsuites + all PHP x whole test (for code coverage)
Diffstat (limited to 'tests/travis')
-rwxr-xr-xtests/travis/prepare.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/travis/prepare.sh b/tests/travis/prepare.sh
new file mode 100755
index 0000000000..a3827567d2
--- /dev/null
+++ b/tests/travis/prepare.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+set -e
+
+# Copy Piwik configuration
+echo "Install config.ini.php"
+cp ./tests/PHPUnit/config.ini.travis.php ./config/config.ini.php
+
+# Prepare phpunit.xml
+echo "Adjusting phpunit.xml"
+cp ./tests/PHPUnit/phpunit.xml.dist ./tests/PHPUnit/phpunit.xml
+sed -i 's/@REQUEST_URI@/\//g' ./tests/PHPUnit/phpunit.xml
+
+# Create tmp/ sub-directories
+mkdir ./tmp/assets
+mkdir ./tmp/cache
+mkdir ./tmp/latest
+mkdir ./tmp/sessions
+mkdir ./tmp/templates_c
+chmod a+rw ./tests/lib/geoip-files