The Travis CI build should be organized.
:man_artist: According to the Travis CI build log from my forked repository. I found some existed problems.
- It's not really necessary to do the static analysis with
phpstanin Travis CI build at this time. It should be removed. We have the unit tests and this is the optional enhancement work. - I think it's okay to use the
php-cs-fixerto check the coding style. - I think the unit test looks like it's too slow. Perhaps it has some HTTP requests tests to cause this issue.
IMHO, it should set the optional argument
timeoutfor HTTP requests inphp-httpclient so that it can let the execution time of unit test faster :+1:.
BTW, we can integrate the Travis CI service so that we can check where the problem is via unit test work :smile:.
The tests don't execute HTTP requests, the tests work with some fixtures that take a lot of time to load - at least that is what I recognized the last time (I think this class was the problem). And the Kerl Tests are really resource intensive, thats why I restricted them to 1000, I think 100 would be better or we implement different test modes (full / partial).
@Techworker, thank you for your reply. I think it's not the HTTP requests after checking the test code again.
The IOTA\Tests\DummyData class is too slow? Let me deeply test that class...