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

Jobs failing on travis-ci #367

Open
kishorkunal-raj opened this issue Oct 8, 2020 · 2 comments
Open

Jobs failing on travis-ci #367

kishorkunal-raj opened this issue Oct 8, 2020 · 2 comments

Comments

@kishorkunal-raj
Copy link

Hi,
I am trying to run the test on travis-ci as part of integration, but jobs failing on it. Basically it is unable to create databases on postgresql or mysql. Logs are
$ export DJANGO=django==1.8.18

$ export DRF=3.3.1

$ export DATABASE_URL=mysql://root@localhost/test

0.01s$ source ~/virtualenv/python2.7/bin/activate

$ python --version

Python 2.7.15

$ pip --version

pip 20.1.1 from /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages/pip (python 2.7)
install.1

12.93s$ pip install $DJANGO && pip install sphinx argparse coveralls djangorestframework==$DRF
install.2

0.00s$ if [[ "$DATABASE_URL" == postgres:* ]]; then pip install psycopg2; fi
install.3

2.13s$ if [[ "$DATABASE_URL" == mysql:* ]]; then pip install mysqlclient; fi
install.4

0.32s$ python setup.py -q install

0.08s$ psql -c 'create database test;' -U postgres

psql: could not connect to server: No such file or directory

Is the server running locally and accepting

connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

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

Your build has been stopped.

Please have a look. Also in case if its irrelevant please do let me know.

@kishorkunal-raj
Copy link
Author

Hi All,
Any views on the issue?

@DmytroLitvinov
Copy link

HI @kishorkunal-raj ,
Seems like the library is abandoned.
I also created MR #360 and no response from members of the project.

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

No branches or pull requests

2 participants