dolibarr/dev/initdata
Raphaël Doursenaud bbe7498de6 Better Travis CI
NEW:
Cleaned up routines for better readability of both declaration and results.
PHP versions now really covered.
    The old code forced install of PHP and didn't use Travis provided versions.
    This resulted in the process not being executed with the declared PHP version.
Dropped MySQL in favor of MariaDB.
    This is now the FLOSS community standard.
    This should help avoid problems with buggy MySQL releases.
Fast finish enabled to show results faster.
Optimized tools installation with composer.
    The right version of the tool is installed for the PHP version under test.
New PHP linter to check for syntax errors.
    Parallelized for better speed.
Apache + PHP FPM for testing webservices.
    The previous mod_php configuration was not supported on Travis.
New global DEBUG environment variable to show verbose output with configuration files content.
IRC notification on #dolibarr@freenode for community awareness.

FIXES:
Bug in scripts preventing execution with environmentalized PHP.
Wrong detection of MAIN_URL_ROOT under specific circumstances.
    $_SERVER["DOCUMENT_ROOT"] empty and $_SERVER["SCRIPT_NAME"] populated.
Relative ignore directive in coding style ruleset to avoid bypassing test.
Unit test errors without an exit status.
    This prevented the CI from properly detecting and reporting the error.

TODOS:
PostgreSQL support.
    This one is tricky since we only have a MySQL dump and the syntax is not directly compatible.
SQLite support.
    Disabled in core at the moment.
Nginx + PHP FPM support.
    Test webservices on the second most popular webserver.
Run dev/* checks.
    We have a nice collection of scripts we could leverage.
Check Javascript.
Check CSS.
Check SQL.
2015-12-13 21:34:36 +01:00
..
img Clean init/demo file. Demo init must contains real and clean values 2015-10-03 13:00:44 +02:00
dolibarr-mysql2pgsql.pl Scripts should be executable 2013-11-28 15:17:58 +01:00
generate-invoice.php Better Travis CI 2015-12-13 21:34:36 +01:00
generate-order.php Better Travis CI 2015-12-13 21:34:36 +01:00
generate-product.php Better Travis CI 2015-12-13 21:34:36 +01:00
generate-proposal.php Better Travis CI 2015-12-13 21:34:36 +01:00
generate-thirdparty.php Better Travis CI 2015-12-13 21:34:36 +01:00
initdemo.sh Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
mysqldump_dolibarr_3.1.0.sql Merge remote-tracking branch 'origin/3.5' into 3.6 2014-08-06 10:54:31 +02:00
mysqldump_dolibarr_3.2.0.sql Fix: Removed table of external modules 2014-08-06 10:40:26 +02:00
mysqldump_dolibarr_3.3.0.sql Fix: Removed table of external modules 2014-08-06 10:40:26 +02:00
mysqldump_dolibarr_3.4.0.sql Fix: Clean init data 2014-08-06 10:59:09 +02:00
mysqldump_dolibarr_3.5.0.sql Fix test for es. Dumps 3.5 et 3.6 2015-04-22 23:40:43 +02:00
mysqldump_dolibarr_3.6.0.sql Fix test for es. Dumps 3.5 et 3.6 2015-04-22 23:40:43 +02:00
mysqldump_dolibarr_3.7.0.sql Fix test for es 2015-04-22 22:10:50 +02:00
mysqldump_dolibarr_3.8.0.sql Clean demo file 2015-11-16 00:22:14 +01:00
mysqldump_dolibarr_3.0.0.sql SQL files shouldn't be executable 2013-11-28 15:17:39 +01:00
README Qual: Move script to init data in same directoty 2009-12-28 13:23:58 +00:00
README-FR Qual: Move script to init data in same directoty 2009-12-28 13:23:58 +00:00
removedemo.sh Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
savedemo.sh Clean demo file 2015-11-16 00:22:14 +01:00
sftpget_and_loaddump.php Better Travis CI 2015-12-13 21:34:36 +01:00

README (English)
--------------------------------

*** Demo

Scripts in this directory can be used to reinit a demo database.
WARNING: This will erase current database with data into initdemo.sql.

Do a chmod 700 initdemo.sh
then run ./initdemo.sh to launch Graphic User Interface.

Install of package "dialog" is required.


*** Other

Other scripts can be used to load data test.