Fix for secrets and travis ci builds