Adding commands, permissions and build image for travis