diff --git a/.travis.yml b/.travis.yml index 536e9301e67..e5bd9e3d808 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ addons: env: global: # Set to true for very verbose output - - DEBUG=false + - DEBUG=true jobs: fast_finish: true @@ -396,10 +396,6 @@ script: php upgrade.php 5.0.0 6.0.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade500600.log php upgrade2.php 5.0.0 6.0.0 > $TRAVIS_BUILD_DIR/upgrade500600-2.log php step5.php 5.0.0 6.0.0 > $TRAVIS_BUILD_DIR/upgrade500600-3.log - - echo '\d llx_bank_account' | psql 'postgresql://postgres:postgres@127.0.0.1:5432/travis' - cat $TRAVIS_BUILD_DIR/upgrade500600.log - php upgrade.php 6.0.0 7.0.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade600700.log php upgrade2.php 6.0.0 7.0.0 > $TRAVIS_BUILD_DIR/upgrade600700-2.log php step5.php 6.0.0 7.0.0 > $TRAVIS_BUILD_DIR/upgrade600700-3.log @@ -437,6 +433,10 @@ script: php upgrade2.php 17.0.0 18.0.0 > $TRAVIS_BUILD_DIR/upgrade17001800-2.log php step5.php 17.0.0 18.0.0 > $TRAVIS_BUILD_DIR/upgrade17001800-3.log + #show table content and log + #echo '\d llx_bank_account' | psql 'postgresql://postgres:postgres@127.0.0.1:5432/travis' + #cat $TRAVIS_BUILD_DIR/upgrade500600.log + - | echo Result of migration scripts ls -alrt $TRAVIS_BUILD_DIR/ @@ -463,7 +463,7 @@ script: - | echo "Unit testing" # Ensure we catch errors. Set this to +e instead of -e if you want to go to the end to see dolibarr.log file. - set -e + set +e phpunit -d memory_limit=-1 -c test/phpunit/phpunittest.xml test/phpunit/AllTests.php phpunitresult=$? echo "Phpunit return code = $phpunitresult"