diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-02-01 13:49:43 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-02-01 13:49:43 +0400 |
commit | 5bbdc355da1664108ba26c8a1112956940457a41 (patch) | |
tree | 123a47f74f10ded49d07377cc8e28fe80b6eec8d /.travis.yml | |
parent | 7aa7595ba5e3608d38292db7f2e03b5549494f24 (diff) |
Previous builds failed due to a missing config.ini.php.
Using the before_script command we now copy a configuration file
to config/. We also create a database for tests.
PHPUnit complained about missing XDebug - so this is added.
git-svn-id: http://dev.piwik.org/svn/trunk@7833 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index fb5e5c8751..b9badd2a6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,7 @@ php: - 5.3 script: phpunit --configuration tests/PHPUnit/phpunit.xml.dist --coverage-text + +before_script + - mysql -e 'create database piwik_test;' + - ./tests/PHPUnit/travis.sh |