Run bin/install instead of bin/rebuild.
Init mysql and settings files.
Manually create settings.local.php on travis.
Init the files directory.
Debug travis failure.
Set install profile in settings.