.travis.yml: add QA and make test

- add composer install
- install composer
- create db and ~/.pgpass