add travis-ci and simple testing.