Add settings for running test in Travis CI

Add `.travis.yml` to run tests in https://travis-ci.org/