Add Travis configuration.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>