Commit Graph

74 Commits

Author SHA1 Message Date
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