Wrap travis config in closure