Commit Graph

55 Commits

Author SHA1 Message Date
Adrien Crivelli b1a7863485
Force doc deploy just for this once 2020-04-27 18:27:45 +09:00
Adrien Crivelli 57c36e01d5
Replace Sami with phpDocumentor 3
Because Sami is deprecated and now raise errors. We lose API
docs for multiple versions but we still have latest version with low
maintenance cost.
2020-04-05 17:47:25 +09:00
Adrien Crivelli 9fab8900ef
Use latest available Ubuntu 2019-12-19 11:44:12 +01:00
Adrien Crivelli a163d9d1ab
Coverage with PCOV instead of xdebug
Because it is much, much faster than xdebug
2019-12-19 11:43:55 +01:00
Mark Baker 4b6ad77690
Modify Travis to use 7.4 rather than 7.4snapshot now that 7.4 has bee… (#1291)
* Modify Travis to use 7.4 rather than 7.4snapshot now that 7.4 has been released

* Try upgrading from Trusty to Xenial to see if --with-zip is enabled on that image
2019-12-14 16:53:06 +01:00
Adrien Crivelli 9fa45f7e48
PHP 7.4 compatibility 2019-11-30 00:12:46 +01:00
Adrien Crivelli 454d942c13
Drop PHP 5.6 and 7.0
This is according to our formal, published, policy to only support
eol PHP after 6 months.

See https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support
2019-07-24 23:12:45 -07:00
Andrey Bolonin 8a1cb04830 Test PHP 7.4snapshot
For now allow failure for PHP 7.4 because it's not released yet
2019-07-24 22:17:55 -07:00
MarkBaker 561852e341 Still test against 5.6, but with allowed failures 2019-05-30 12:00:41 +02:00
MarkBaker fc78cd5422 Minimum PHP 7.0 and updated travis 2019-05-30 11:59:01 +02:00
Adrien Crivelli 0e8fde9be6
`master` is the new default branch
`master` is now the only permanent branch. Features and fixes should be merged
into `master` when stable. Pull requests should be forked from `master`.

`develop` branch disappear entirely in favor of temporary features/fixes branches.
2019-01-02 15:28:38 +11:00
MarkBaker 50ed769b38 Revert accidental PHP version update to develop branch 2018-12-28 22:31:14 +01:00
MarkBaker 8c99d9d8c0 Update to minimum PHP version of 7.0, and use as a new baseline development branch for PHPSpreadsheet version 2 development 2018-12-28 22:11:35 +01:00
Adrien Crivelli 153186e897
Remove deprecated sudo from Travis 2018-12-05 09:29:31 +11:00
Jon Dufresne 5b3870c508
Prefer https:// URLs when available in docs & comments
Fixes #737
2018-10-28 13:55:00 +11:00
MarkBaker a1e8c843b7 Moved codestyle, coverage and API documentation checks to PHP run against 7.2 2018-10-14 17:39:08 +01:00
MarkBaker 467c9664a8 Add PHP 7.3 to travis checks 2018-10-14 14:20:18 +01:00
Adrien Crivelli b0004cdabf
Upgrade to latest PHP_CodeSniffer 2018-08-06 11:02:16 +09:00
Adrien Crivelli c897bdfadf
Publish Sami, not the other docs 2018-06-04 14:04:48 +09:00
Adrien Crivelli 041a7f9ca3
Keep Sami cache across builds 2018-06-04 13:49:07 +09:00
Adrien Crivelli 2bb54ef989
Use PHP 7.1 to generate API 2018-06-04 13:31:18 +09:00
Adrien Crivelli 1afba78f85
Publish API documentation via Travis and Sami
Fixes #491
Fixes #497
2018-06-04 13:18:39 +09:00
Adrien Crivelli edae73b3e0
Avoid Travis timeout 2018-02-12 12:41:15 +09:00
Adrien Crivelli 84f012f4bb
Use stages for Travis 2018-01-28 21:00:44 +09:00
Adrien Crivelli 23896213ac
Test code style only once 2018-01-28 17:09:10 +09:00
Adrien Crivelli d520246d32
Allow to install PHP-CS-Fixer with incompatible PHP because it will not be run 2018-01-28 16:28:26 +09:00
Adrien Crivelli d2f55ffa07
Support PHP 7.2 2018-01-28 16:23:38 +09:00
Adrien Crivelli 98b532102d
Add experimental support for PHP 7.2 2017-11-02 16:02:42 +09:00
Adrien Crivelli 600a7a1b59
Fix Travis 2017-10-01 18:17:31 +09:00
Adrien Crivelli fb12e82d62
Drop HHVM support
Because HHVM usage is very low (https://seld.be/notes/php-versions-stats-2017-1-edition)
and because we don't have the necessary resources to properly support it, we drop all
support for HHVM
2017-07-14 10:09:25 +02:00
Adrien Crivelli 2ad559639e
Use PHP 7.0 for code coverage
Hopefully this will avoid the frequent core dump
seen on Travis.
2017-04-21 17:15:42 +09:00
Adrien Crivelli a06533f766
Upgrade to Precise on Travis
This is an attempt to get rid of segfault during code coverage,
and at the same get the latest hhvm that may pass our tests.
2017-04-16 15:33:59 +09:00
ankitm123 5df662e1a3
PHP 7.1 compatibility
Closes #96
Closes #101
Closes #102
2017-02-25 16:35:37 +09:00
Adrien Crivelli 682b1b8cb2
Drop PHP 5.5 support
According to our policy to support PHP version 6 months after their
end of life, it is time to drop PHP 5.5.
2017-01-23 11:44:16 +09:00
Adrien Crivelli 467115d32e
Make Travis fails if code style is invalid 2016-12-26 11:58:39 +09:00
Adrien Crivelli f2838c0153
Disable xdebug to speed up tests
Run code coverage separately and only activate xdebug for that
specific job to speed up other jobs
2016-10-02 16:35:33 +09:00
Adrien Crivelli 10da9b3620
Remove debug flag for PHPUnit 2016-09-09 18:20:21 +09:00
Adrien Crivelli 8cf9111a5d
Debug PHPUnit 2016-09-09 02:19:28 +09:00
Adrien Crivelli 150ad19580
Ask Travis to wait longer for PHPUnit to finish 2016-09-01 11:20:22 +09:00
Adrien Crivelli 2922a13764
Reorganize code samples
This introduce a helper class that should be used to log things,
avoiding a lot of boilerplate code.

Also all output are made in /tmp folder instead of beside the script
itself. This is because there is a high chance that the folder containing
the script is not writtable by webserver. So using the /tmp folder
makes it more likely to works in a variety of setup.
2016-09-01 01:17:13 +09:00
Adrien Crivelli 5c03e85531
Show progress so Travis does not think the build failed 2016-08-17 01:00:21 +09:00
Adrien Crivelli 09d456e477
Introduce PHP-CS-Fixer for stricter code style rules
PHP-CS-Fixer allow to check different things than phpcs and it allows
code to be more consistent. Configuration can be changed in `.php_cs`
2016-08-17 00:33:57 +09:00
Adrien Crivelli 685e29d8ff
Report coverage to Scrutinizer 2016-08-16 23:38:24 +09:00
Adrien Crivelli 00657c906e
Reorganize unit tests
All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace
which is autoloaded via composer mechanism. So there is no need for
`require()` anymore.

Also, tests were moved in `tests/` folder and phpunit should be executed from
the project root folder. This is to conform to the de facto standard, notably
in use in phpunit itself.
2016-08-14 02:29:33 +09:00
Adrien Crivelli 3cf1bd9a7c
Add PHP 7.1 to Travis 2016-08-13 23:45:37 +09:00
Adrien Crivelli a1f8551ccb
PHP 5.5 is the new minimum requirement
This is a decision annouced by @MarkBaker in Gitter to be able to
use `DateTimeInterface`.

Also remove deprecated composer option, and introduce caching for
faster CI tests
2016-08-13 23:43:07 +09:00
Progi1984 259ce457f3 #401 : PHPCS Fixes & Some PHPUnit Fixes 2016-05-18 13:37:00 +02:00
MarkBaker 4ac2d1930e Updates to travis and composer files for new folder structure 2015-05-26 21:24:14 +01:00
MarkBaker 73b80d392f Update travis to remove PHP versions < 5.4 and add PHP7 2015-05-24 14:58:16 +01:00
Progi1984 e018257896 PSR2 : Improve Travis Test 2015-05-13 08:02:03 +02:00