[feature/tests] fix travis build
This commit is contained in:
@@ -14,15 +14,15 @@ before_script:
|
||||
- cd ../../
|
||||
- git clone "git://github.com/phpbb/phpbb3.git" "phpBB3"
|
||||
- mkdir phpBB3/phpBB/ext
|
||||
- mkdir phpBB3/phpBB/ext/phpbbgallery
|
||||
- mv nickvergessen/phpbb3-ext-gallery phpBB3/phpBB/ext/phpbbgallery/core
|
||||
- mkdir phpBB3/phpBB/ext/board3
|
||||
- mv board3/Board3-Portal phpBB3/phpBB/ext/board3
|
||||
|
||||
# Setup the dependencies
|
||||
- cd phpBB3/phpBB
|
||||
- php ../composer.phar install --dev --no-interaction --prefer-source
|
||||
|
||||
# Setup the tests/travis
|
||||
- cd ext/phpbbgallery/core
|
||||
- cd ext/board3
|
||||
- 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"
|
||||
@@ -37,5 +37,6 @@ notifications:
|
||||
email:
|
||||
recipients:
|
||||
- nickvergessen@gmx.de
|
||||
- admin@m-a-styles.de
|
||||
on_success: change
|
||||
on_failure: change
|
||||
|
||||
Reference in New Issue
Block a user