[feature/tests] show dir content before failure
This commit is contained in:
@@ -14,7 +14,7 @@ before_script:
|
|||||||
- cd ../../
|
- cd ../../
|
||||||
- git clone "git://github.com/phpbb/phpbb3.git" "phpBB3"
|
- git clone "git://github.com/phpbb/phpbb3.git" "phpBB3"
|
||||||
- mkdir phpBB3/phpBB/ext
|
- 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
|
- find -type d -name "Board3-Portal" -print | xargs -i mv {} phpBB3/phpBB/ext/board3
|
||||||
# - mv board3/Board3-Portal 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 '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' = '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"
|
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS phpbb_tests;'; fi"
|
||||||
|
- ls -l
|
||||||
- travis/install-php-extensions.sh
|
- travis/install-php-extensions.sh
|
||||||
- phpenv rehash
|
- phpenv rehash
|
||||||
- sh -c "if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` = "1" ]; then travis/setup-webserver.sh; fi"
|
- sh -c "if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` = "1" ]; then travis/setup-webserver.sh; fi"
|
||||||
|
|||||||
Reference in New Issue
Block a user