Add Travis database config file and before_script commands to .travis.yml