Recherche bug travis

This commit is contained in:
Laurent Destailleur
2014-11-07 23:58:30 +01:00
parent 6762b98c00
commit 429cae5d2e
2 changed files with 5 additions and 3 deletions

View File

@@ -53,6 +53,8 @@ before_script:
- sh -c "if [ '$PHPV' = '5.3' ]; then echo 'zend_extension_ts = xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi" - sh -c "if [ '$PHPV' = '5.3' ]; then echo 'zend_extension_ts = xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
- sh -c "if [ '$PHPV' = '5.4' ]; then echo 'zend_extension_ts = xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi" - sh -c "if [ '$PHPV' = '5.4' ]; then echo 'zend_extension_ts = xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
- cat ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - cat ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo Mysql version
- mysql --version
- echo Init database - echo Init database
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS myapp_test;' -U postgres; fi" - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS myapp_test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE myapp_test;' -U postgres; fi" - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE myapp_test;' -U postgres; fi"

View File

@@ -631,7 +631,7 @@ function hideMessage(fieldId,message) {
/* /*
* TODO Used by admin page only ? * Used by button to set on/off
*/ */
function setConstant(url, code, input, entity, strict) { function setConstant(url, code, input, entity, strict) {
$.get( url, { $.get( url, {
@@ -689,7 +689,7 @@ function setConstant(url, code, input, entity, strict) {
} }
/* /*
* TODO Used by admin page only ? * Used by button to set on/off
*/ */
function delConstant(url, code, input, entity, strict) { function delConstant(url, code, input, entity, strict) {
$.get( url, { $.get( url, {
@@ -743,7 +743,7 @@ function delConstant(url, code, input, entity, strict) {
} }
/* /*
* TODO Used by admin page only ? * Used by button to set on/off
*/ */
function confirmConstantAction(action, url, code, input, box, entity, yesButton, noButton, strict) { function confirmConstantAction(action, url, code, input, box, entity, yesButton, noButton, strict) {
var boxConfirm = box; var boxConfirm = box;