Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Travis builds by asking for postgres #122

Closed
wants to merge 2 commits into from

Conversation

davel
Copy link

@davel davel commented Dec 12, 2019

Travis builds are currently failing with

The command "psql -U postgres -c 'create database sqlt_test;'" failed and exited with 2 during .

eg., https://travis-ci.org/davel/sql-translator/jobs/624123545

This change requests for postgres to be available.

The tests on Perl 5.16 and 5.18 are also failing because insufficient dependencies are installed the first time Makefile.PL is invoked, so that the test data does not get generated. A second change causes the test data to be generated if it is not present on the second run of Makefile.PL.

Builds in Travis currently fail with

    The command "psql -U postgres -c 'create database sqlt_test;'" failed and exited with 2 during .

https://travis-ci.org/davel/sql-translator/jobs/624123545
When Makefile.PL is run the second time, after dependencies have been
installed, it does not generate the test data, and so the run fails
with, https://travis-ci.org/davel/sql-translator/jobs/624129330

This only seems to happen on perl 5.16 and 5.18.
@davel
Copy link
Author

davel commented Feb 26, 2020

The change installing postgresql was merged in 43571d2 and appears to have fixed the Travis build. It is not known why d05976b is no longer needed, but the failure seen before can be seen at https://travis-ci.org/dbsrgits/sql-translator/builds/624133664

@davel davel closed this Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant