Commit Graph

16 Commits

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