File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ RUN if [ "${CHECK_CODE}" = "cppcheck" ] ; then \
1414RUN if [ "${CHECK_CODE}" = "false" ] ; then \
1515 echo 'http://dl-3.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories; \
1616 apk --no-cache add curl python3 gcc make musl-dev cmocka-dev;\
17- pip3 install testgres; \
1817 fi
1918
2019RUN mkdir -p /pg/data && \
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
33import subprocess
4+ import getpass
45
56DOCKER_ID = 'pathman'
67pg_versions = ['9.5' ,'9.6' ,'10' ]
1718 }
1819}
1920
20- password = input ("Enter password for `docker login` for user `%s`: " % DOCKER_ID )
21+ user = input ("Enter username for `docker login`: " )
22+ password = getpass .getpass ()
2123subprocess .check_output ([
2224 'docker' ,
2325 'login' ,
24- '-u' , DOCKER_ID ,
26+ '-u' , user ,
2527 '-p' , password ])
2628
2729travis_conf_line = '- DOCKER_IMAGE=%s'
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ elif [ "$CHECK_CODE" = "cppcheck" ]; then
3535 exit $status
3636fi
3737
38+ # we need testgres for pathman tests
39+ pip3 install testgres
40+ pip3 freeze | grep testgres
41+
3842# don't forget to "make clean"
3943make USE_PGXS=1 clean
4044
You can’t perform that action at this time.
0 commit comments