You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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.
The text was updated successfully, but these errors were encountered: