Use pre-request handlers.
Add travis configuration for automatic deployments