Enable travis-ci tests to validate pull requests.

review by @cunei