Enable Travis CI for pull requests and feature branches. Fix GH-340.