[feature/tests] show dir content before failure

This commit is contained in:
Marc Alexander
2013-10-29 15:35:18 +01:00
parent 27304eb644
commit 88dd50f3ab

View File

@@ -14,7 +14,7 @@ before_script:
- cd ../../
- git clone "git://github.com/phpbb/phpbb3.git" "phpBB3"
- mkdir phpBB3/phpBB/ext
- mkdir phpBB3/phpBB/ext/board3
# - mkdir phpBB3/phpBB/ext/board3
- find -type d -name "Board3-Portal" -print | xargs -i mv {} phpBB3/phpBB/ext/board3
# - mv board3/Board3-Portal phpBB3/phpBB/ext/board3
@@ -27,6 +27,7 @@ before_script:
- sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres; fi"
- sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database phpbb_tests;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS phpbb_tests;'; fi"
- ls -l
- travis/install-php-extensions.sh
- phpenv rehash
- sh -c "if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` = "1" ]; then travis/setup-webserver.sh; fi"