add restart postgresql to travis script to ensure not failing with "psql: could not connect to server: No such file or directory"