Follow-up fix to make before_script work on Travis part 2 ( will be squashed )

Fixes #17229: Ensure that all tests are executed on Travis