Builds with Symfony 4/Behat/@javascript scenarios : too much "assets" lines of dependencies which delay my builds


#1

Hi every one,

I’m using Symfony 4 and Behat with Travis CI but i have a lot of lines on my builds like these ones :

@javascript Scenario: I reach the processus form # features/browse_into_processus.feature:27 [Thu Feb 28 17:36:39 2019] 127.0.0.1:52646 [200]: /login [Thu Feb 28 17:36:39 2019] 127.0.0.1:52648 [200]: /assets/global/css/icons/icomoon/styles.css [Thu Feb 28 17:36:39 2019] 127.0.0.1:52652 [200]: /assets/apps/css/bootstrap.min.css [Thu Feb 28 17:36:39 2019] 127.0.0.1:52654 [200]: /assets/apps/css/bootstrap_limitless.min.css [Thu Feb 28 17:36:39 2019] 127.0.0.1:52656 [200]: /assets/apps/css/layout.min.css [Thu Feb 28 17:36:39 2019] 127.0.0.1:52658 [200]: /assets/apps/css/components.css [Thu Feb 28 17:36:39 2019] 127.0.0.1:52660 [200]: /assets/apps/css/colors.min.css [Thu Feb 28 17:36:39 2019] 127.0.0.1:52662 [200]: /assets/global/js/main/jquery.min.js …

due to S4 dependencies launched for @javascript scenario with Behat.

My builds are too much delayed and we have to wait for the end of the raw log displaying (about 15-20 min).

How is it possible to discard these “assets” lines on my builds ?.

Does Travis manage the cache of a Symfony 4 web app ?.

If you have an example of a travis.yml written for Symfony 4/Behat/@javascript scenario environment, it could be very useful to complete mine.

Thank you.

Khalid