Update travis.
Update docs and change syntax.
Add feature tests for deployments api.