[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-git] [Dolibarr/dolibarr] bbe749: Better Travis CI
From: |
Laurent Destailleur |
Subject: |
[Dolibarr-git] [Dolibarr/dolibarr] bbe749: Better Travis CI |
Date: |
Sun, 13 Dec 2015 16:11:58 -0800 |
Branch: refs/heads/develop
Home: https://github.com/Dolibarr/dolibarr
Commit: bbe7498de6b1590f3b806eb4400e5cfb5837cb73
https://github.com/Dolibarr/dolibarr/commit/bbe7498de6b1590f3b806eb4400e5cfb5837cb73
Author: Raphaƫl Doursenaud <address@hidden>
Date: 2015-12-13 (Sun, 13 Dec 2015)
Changed paths:
M .travis.yml
M build/aps/configure.php
M build/generate_filecheck_xml.php
A build/travis-ci/apache.conf
R composer.json.phpcs
M dev/codesniffer/ruleset.xml
M dev/examples/create_invoice.php
M dev/examples/create_order.php
M dev/examples/create_product.php
M dev/examples/create_user.php
M dev/examples/get_contracts.php
M dev/initdata/generate-invoice.php
M dev/initdata/generate-order.php
M dev/initdata/generate-product.php
M dev/initdata/generate-proposal.php
M dev/initdata/generate-thirdparty.php
M dev/initdata/sftpget_and_loaddump.php
M dev/skeletons/build_api_class.php
M dev/skeletons/build_class_from_table.php
M dev/skeletons/build_webservice_from_class.php
M dev/skeletons/skeleton_script.php
M dev/translation/autotranslator.php
M dev/translation/sanity_check_en_langfiles.php
M dev/translation/strip_language_file.php
M htdocs/filefunc.inc.php
M scripts/accountancy/export-thirdpartyaccount.php
M scripts/bank/export-bank-receipts.php
M scripts/company/export-contacts-xls-example.php
M scripts/company/sync_contacts_dolibarr2ldap.php
M scripts/contracts/email_expire_services_to_customers.php
M scripts/contracts/email_expire_services_to_representatives.php
M scripts/cron/cron_run_jobs.php
M scripts/emailings/mailing-send.php
M scripts/invoices/email_unpaid_invoices_to_customers.php
M scripts/invoices/email_unpaid_invoices_to_representatives.php
M scripts/invoices/rebuild_merge_pdf.php
M scripts/members/sync_members_dolibarr2ldap.php
M scripts/members/sync_members_ldap2dolibarr.php
M scripts/product/migrate_picture_path.php
M scripts/user/sync_groups_dolibarr2ldap.php
M scripts/user/sync_groups_ldap2dolibarr.php
M scripts/user/sync_users_dolibarr2ldap.php
M scripts/user/sync_users_ldap2dolibarr.php
M scripts/withdrawals/build_withdrawal_file.php
M test/phpunit/AllTests.php
M test/phpunit/ContactTest.php
M test/phpunit/PricesTest.php
M test/phpunit/WebservicesProductsTest.php
Log Message:
-----------
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 address@hidden 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.
Commit: 96d14863586baa598a4d1c78dad6d68930f80641
https://github.com/Dolibarr/dolibarr/commit/96d14863586baa598a4d1c78dad6d68930f80641
Author: Laurent Destailleur <address@hidden>
Date: 2015-12-14 (Mon, 14 Dec 2015)
Changed paths:
M .travis.yml
M build/aps/configure.php
M build/generate_filecheck_xml.php
A build/travis-ci/apache.conf
R composer.json.phpcs
M dev/codesniffer/ruleset.xml
M dev/examples/create_invoice.php
M dev/examples/create_order.php
M dev/examples/create_product.php
M dev/examples/create_user.php
M dev/examples/get_contracts.php
M dev/initdata/generate-invoice.php
M dev/initdata/generate-order.php
M dev/initdata/generate-product.php
M dev/initdata/generate-proposal.php
M dev/initdata/generate-thirdparty.php
M dev/initdata/sftpget_and_loaddump.php
M dev/skeletons/build_api_class.php
M dev/skeletons/build_class_from_table.php
M dev/skeletons/build_webservice_from_class.php
M dev/skeletons/skeleton_script.php
M dev/translation/autotranslator.php
M dev/translation/sanity_check_en_langfiles.php
M dev/translation/strip_language_file.php
M htdocs/filefunc.inc.php
M scripts/accountancy/export-thirdpartyaccount.php
M scripts/bank/export-bank-receipts.php
M scripts/company/export-contacts-xls-example.php
M scripts/company/sync_contacts_dolibarr2ldap.php
M scripts/contracts/email_expire_services_to_customers.php
M scripts/contracts/email_expire_services_to_representatives.php
M scripts/cron/cron_run_jobs.php
M scripts/emailings/mailing-send.php
M scripts/invoices/email_unpaid_invoices_to_customers.php
M scripts/invoices/email_unpaid_invoices_to_representatives.php
M scripts/invoices/rebuild_merge_pdf.php
M scripts/members/sync_members_dolibarr2ldap.php
M scripts/members/sync_members_ldap2dolibarr.php
M scripts/product/migrate_picture_path.php
M scripts/user/sync_groups_dolibarr2ldap.php
M scripts/user/sync_groups_ldap2dolibarr.php
M scripts/user/sync_users_dolibarr2ldap.php
M scripts/user/sync_users_ldap2dolibarr.php
M scripts/withdrawals/build_withdrawal_file.php
M test/phpunit/AllTests.php
M test/phpunit/ContactTest.php
M test/phpunit/PricesTest.php
M test/phpunit/WebservicesProductsTest.php
Log Message:
-----------
Merge pull request #4209 from GPCsolutions/dolibarr-travis
Better Travis CI
Compare:
https://github.com/Dolibarr/dolibarr/compare/dc6ec91b2cc7...96d14863586b
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-git] [Dolibarr/dolibarr] bbe749: Better Travis CI,
Laurent Destailleur <=