Add .travis.yml file for Travis CI.
Add postgres to .travis.yml.