Travis-ci build and deploy fixes