The job is failing because it is taking too long to download a file
https://raw.githubusercontent.com/drupal/drupal/8.6.15/sites/default/default.services.yml. The problem is random. There are other jobs in the build which is downloading the files fine.
I started to get this problem since 3rd May 2019. Before that it used to work fine. I think Travis is facing slow connectivity issues.