Update travis config to build as and runtime