Adding travis-ci configuration to automate testing.