Travis

I wrote configuration file for travis-ci.
To pass ci, I fixed some errors in the test program.