Commit Graph

40 Commits

Author SHA1 Message Date
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
Progi1984 bb13357dcb Travis CI : Support for PSR-2 test 2015-05-11 12:58:26 +02:00
Progi1984 46dfaa9f8a Travis CI : Support for PSR-2 test 2015-05-11 12:30:47 +02:00
Tobias Nyholm 4f6256e621 Added PHP 5.6 and HHVM to travis.yml 2014-07-09 12:18:09 +02:00
Filippo Tessarotto 4b0c98eb58 Travis: test also against PHP 5.5 2013-09-06 10:53:46 +02:00
Filippo Tessarotto 5aa7f3436c Added Travis to the project 2012-11-23 11:51:34 +01:00