Commit Graph

159 Commits

Author SHA1 Message Date
Laurent Destailleur
cd72e606d0 Update travis 2016-02-02 17:19:28 +01:00
Laurent Destailleur
c28c8d5d18 Add more info into log 2016-02-02 16:32:47 +01:00
Laurent Destailleur
1fb1da5be4 Work on website module 2016-02-02 16:24:12 +01:00
Laurent Destailleur
dcff643fb6 We don't want to exit if error on phpunit 2016-02-02 13:06:46 +01:00
Laurent Destailleur
cd16784b2b Another travis test 2016-02-02 13:05:26 +01:00
Laurent Destailleur
1d9acd6a24 Debug 2016-02-02 12:53:45 +01:00
Laurent Destailleur
cd7ae52f92 Add log 2016-02-01 03:53:21 +01:00
Laurent Destailleur
bf19ae878b Add migration to 4.0 2016-01-12 22:54:20 +01:00
Laurent Destailleur
73f1596027 More complete upgrade process from command line 2015-12-19 18:54:33 +01:00
Laurent Destailleur
bd91f327b8 Merge remote-tracking branch 'origin/3.8' into develop
Conflicts:
	.travis.yml
	htdocs/filefunc.inc.php
2015-12-19 01:38:22 +01:00
Laurent Destailleur
298396a57e Merge remote-tracking branch 'origin/3.7' into 3.8
Conflicts:
	test/phpunit/AllTests.php
2015-12-19 01:27:19 +01:00
Laurent Destailleur
6ed87f43de Fix indent 2015-12-19 01:15:08 +01:00
Laurent Destailleur
a136e90749 Fix travis 2015-12-19 01:06:11 +01:00
Laurent Destailleur
f25a9030eb Merge remote-tracking branch 'origin/3.8' into develop
Conflicts:
	.travis.yml
	htdocs/core/modules/askpricesupplier/doc/pdf_aurore.modules.php
	htdocs/core/modules/commande/doc/pdf_proforma.modules.php
	htdocs/includes/adodbtime/adodb-time.inc.php
	htdocs/langs/en_US/accountancy.lang
2015-12-18 22:12:03 +01:00
Laurent Destailleur
dd3f5a32d3 Merge remote-tracking branch 'origin/3.7' into 3.8
Conflicts:
	.travis.yml
	composer.json
	htdocs/accountancy/admin/card.php
2015-12-18 21:20:12 +01:00
Laurent Destailleur
ebf68ecbe0 Merge remote-tracking branch 'origin/3.6' into 3.7
Conflicts:
	.travis.yml
	htdocs/contrat/class/contrat.class.php
	htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
	htdocs/core/modules/project/pdf/pdf_baleine.modules.php
2015-12-18 21:03:57 +01:00
Laurent Destailleur
c1c0fa88c2 Fix for new travis setup 2015-12-18 20:56:27 +01:00
Laurent Destailleur
b47dc8a394 Fix to use new travis setup 2015-12-18 20:10:11 +01:00
Laurent Destailleur
116bdf47a3 Debug travis 2015-12-18 20:02:28 +01:00
Laurent Destailleur
61df71cc64 Fix travis 2015-12-18 19:57:09 +01:00
Laurent Destailleur
11042fe499 Restore data missin help debug 2015-12-18 19:54:54 +01:00
Laurent Destailleur
0dc4130a17 Add debug 2015-12-18 18:59:20 +01:00
Laurent Destailleur
056ab63680 Try to fix travis error using new setup 2015-12-18 18:46:35 +01:00
Laurent Destailleur
480111c6b1 Try to fix travis error using new setup 2015-12-18 18:31:51 +01:00
Laurent Destailleur
aa7e74f4c8 Try to fix travis error using the new setup 2015-12-18 18:29:33 +01:00
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
Laurent Destailleur
3fb7a9429b No more need to install mysql 5.6 2015-12-05 23:55:10 +01:00
Laurent Destailleur
27c7e3cb7e Try to solve mysql pb with new travis 2015-12-05 23:45:08 +01:00
Frédéric FRANCE
9e988ee03e Update .travis.yml 2015-11-30 12:35:19 +01:00
Frédéric FRANCE
136724c083 cleaning tarvis.yml 2015-11-30 12:07:33 +01:00
Frédéric FRANCE
d178c1bf37 Update .travis.yml 2015-11-28 17:38:48 +01:00
Frédéric FRANCE
4539d84609 Update .travis.yml 2015-11-27 00:35:07 +01:00
Frédéric FRANCE
4cf2941023 Test travis for php7 2015-11-25 21:53:00 +01:00
Laurent Destailleur
e9a0e10520 Remove travis log 2015-11-02 20:04:58 +01:00
Frédéric FRANCE
fcac4c6059 Output log to fix travis 2015-10-19 23:15:13 +02:00
Laurent Destailleur
22f39d2c18 Output log to fix travis 2015-10-19 22:18:54 +02:00
Laurent Destailleur
fc35c4e3f0 Add migration script for 3.9 2015-09-07 14:01:59 +02:00
Laurent Destailleur
2de690259a Add migration script for 3.9 2015-09-07 14:01:05 +02:00
Laurent Destailleur
fd279ea1fa No more need to output log 2015-05-31 02:21:22 +02:00
Laurent Destailleur
7c8281d2fe search travis pb 2015-04-22 18:30:58 +02:00
Laurent Destailleur
96a33bbe8a First clean of code after devcamp 2015-04-21 15:49:58 +02:00
Frédéric FRANCE
9f899c93ef Update .travis.yml 2015-04-20 17:11:09 +02:00
Laurent Destailleur
89412082ab Change to debug mysql 2015-04-19 13:31:20 +02:00
Laurent Destailleur
38dc5b2555 Change to debug travis 2015-04-19 13:21:33 +02:00
Laurent Destailleur
a55af4387b Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	.travis.yml
	htdocs/core/class/notify.class.php
	htdocs/product/stock/class/mouvementstock.class.php
	test/phpunit/AllTests.php
	test/phpunit/MouvementStockTest.php
2015-03-22 12:10:39 +01:00
Laurent Destailleur
0784e9638a The test on db version must not lock the phpunit 2015-03-20 17:57:40 +01:00
Tomáš Votruba
a065b8a9b4 travis: PHP 7.0 nightly added 2015-03-10 09:57:40 +01:00
Laurent Destailleur
c7d5a45780 Prepare test for pgsql 2015-01-25 11:39:48 +01:00
Laurent Destailleur
2396f03093 Add PHP 5.6 into travis tests 2015-01-18 11:21:43 +01:00
Laurent Destailleur
72c3954f36 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	.travis.yml
2014-12-05 21:12:35 +01:00