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
philippe grand
eaf0fda6aa
fix syntax errors
2015-04-18 18:07:41 +02:00
Laurent Destailleur
212e9825a3
Qual: Function getmypid were renamed into dol_getmypid.
2014-07-31 17:35:58 +02:00
Laurent Destailleur
2bac66fd52
Merge remote-tracking branch 'origin/3.5' into develop
2014-05-10 19:53:06 +02:00
Laurent Destailleur
1b25fdc323
Fix: Param at wrong place.
...
Fix: Add warning if phpunit are runned with external module on.
2014-05-08 18:09:39 +02:00
Raphaël Doursenaud
f8f502d013
Removed closing php tag
...
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Laurent Destailleur
fbd3f6e67f
Fix: Maxi debug of scripts
2013-07-31 12:33:18 +02:00
Laurent Destailleur
3a9ffb19c3
fix: eol
2013-07-13 21:14:05 +02:00
Laurent Destailleur
7481aa121e
Qual: All script files must add a line into log when launched.
2013-07-13 19:20:01 +02:00
Laurent Destailleur
ee590d714d
Fix: Do not send remind to pay when invoice is closed
2013-07-01 22:01:51 +02:00
Laurent Destailleur
feef164b0e
Fix: Missing currency into email content. Must also use language of
...
target.
2013-06-21 12:47:35 +02:00
Marcos García
a12276f22c
Merge branch 'develop' of git://github.com/Dolibarr/dolibarr into develop
2013-06-09 15:45:55 +02:00
Marcos García
3e0815c759
CR Fix
...
Git required me to commit these changes
2013-06-09 15:37:25 +02:00
Laurent Destailleur
89ee79f5cf
New: Implement same rule for return value of all command line scripts (0
...
when success, <>0 if error).
2013-06-09 14:40:33 +02:00
Laurent Destailleur
2c14496d3c
Fi: translation
2013-06-08 19:56:56 +02:00
Laurent Destailleur
9f0107a6b8
Fxi language
2013-06-08 19:21:24 +02:00
Raphaël Doursenaud
686f5add82
Normalized line endings to LF
2013-06-05 16:12:07 +02:00
Laurent Destailleur
7bae064415
Fix: Several fixes into scripts
2013-06-05 14:33:07 +02:00
Laurent Destailleur
e9df560b74
New: Show process id in all command line scripts
2013-05-22 12:23:42 +02:00
Laurent Destailleur
0bffb6e654
Fix: Test error code
2013-05-22 11:43:16 +02:00
Laurent Destailleur
0d562347fb
Add a protection into test mode
2013-05-22 11:29:19 +02:00
Laurent Destailleur
12681994ea
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
ChangeLog
htdocs/comm/propal.php
htdocs/commande/fiche.php
htdocs/compta/facture.php
htdocs/fichinter/class/fichinter.class.php
htdocs/fichinter/fiche.php
2013-05-20 21:21:03 +02:00
Laurent Destailleur
7ef45b9226
Can force out email
2013-05-20 21:04:00 +02:00
Grand Philippe
f7f59f962b
missing translation for script
2013-05-17 10:35:42 +02:00
Laurent Destailleur
a8187c9158
Fix: Avoid duplicate emails
2013-05-15 23:07:43 +02:00
Laurent Destailleur
fb92e13650
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
scripts/invoices/email_unpaid_invoices_to_customers.php
scripts/invoices/email_unpaid_invoices_to_representatives.php
2013-05-15 22:35:41 +02:00
Laurent Destailleur
b05548a633
Fix: Parameter delay not used when set to 0
2013-05-15 22:32:28 +02:00
Laurent Destailleur
a771d3f93e
Fix: use default lang if lang not defined
2013-05-15 16:42:57 +02:00
Grand Philippe
2f53eacb4c
fix personal value error
2013-05-15 15:40:10 +02:00
Grand Philippe
a8e260da84
fix some language issue
2013-05-15 15:28:53 +02:00
Laurent Destailleur
64ff559a80
Qual: Uniformize script headers
2013-05-15 11:24:18 +02:00
Laurent Destailleur
094a7e5ea9
Fix: Bad constant
2013-05-07 13:20:50 +02:00
simnandez
a7a10c370f
Fix: Bad constant
2013-05-07 12:57:23 +02:00
Laurent Destailleur
09c53cbe40
There is confusions with script, so I split it into two different
...
scripts.
2013-05-01 23:23:29 +02:00
Laurent Destailleur
e17e12775d
Usage
2013-04-28 02:48:14 +02:00
Laurent Destailleur
39d3d1a34e
Enhance script to send email to sale representatives
2013-04-23 12:00:31 +02:00
Laurent Destailleur
89365786a8
New: enhance tool fixdosfiles.sh
...
Convert DOS files to unix
2013-03-30 14:27:13 +01:00
Laurent Destailleur
a47616cb95
Enhance script
2013-03-13 18:27:05 +01:00
Laurent Destailleur
ce72fa7681
Fix: removed log
2013-03-11 17:44:36 +01:00
Laurent Destailleur
5d38b69a70
New: Script email_unpaid_invoices_to_representative accepts now a
...
parameter test and a delay.
2013-03-11 17:43:03 +01:00
Laurent Destailleur
746e005726
Fix: Fix ton of regression due to field name change
2013-03-09 20:34:38 +01:00
Laurent Destailleur
418eeef8b4
Fix: Ton of bugs into renaming fields
2013-03-09 16:19:15 +01:00
Grand Philippe
5d3ab26463
some fix for english language standardization
2013-02-24 12:26:01 +01:00
Laurent Destailleur
8d206fdfb0
Prepare move to other licence. For the moment all answers for licence
...
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Laurent Destailleur
52b522e087
Qual: Uniformize code
2012-01-30 10:22:50 +01:00
Laurent Destailleur
b52fc32853
Fix: fix not initialized variables
2011-12-05 19:41:38 +01:00
Regis Houssin
30c5f4b214
Move all core class in htdocs/core/class
2011-10-24 09:29:17 +02:00
Regis Houssin
c9053e1d8d
problem synchro git<->cvs !!!
2011-09-22 10:55:37 +00:00
Laurent Destailleur
2a6f5fb5ad
Doxygen
2011-08-31 10:20:39 +00:00
Regis Houssin
726d9581dd
Fix: remove obsolete tags (in progress)
2011-08-27 14:24:16 +00:00