Added .travis.yml
Minor code tidy to ResultAdapter.php