File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ FROM ololobus/postgres-dev:stretch
2
2
3
3
USER root
4
4
RUN apt-get update
5
- RUN apt-get -yq install python python -pip
5
+ RUN apt-get -yq install python3 python3 -pip
6
6
7
7
# RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
8
8
# RUN python2 get-pip.py
9
- RUN python2 -m pip install virtualenv
9
+ RUN python3 -m pip install virtualenv
10
10
11
11
# Environment
12
12
ENV PG_MAJOR=${PG_VERSION} PG_BRANCH=${PG_BRANCH}
Original file line number Diff line number Diff line change @@ -67,17 +67,17 @@ make USE_PGXS=1 top_srcdir=$PG_SRC install
67
67
68
68
# Setup python environment
69
69
echo " ############### Setting up python env:"
70
- python2 -m virtualenv pyenv
70
+ python3 -m virtualenv pyenv
71
71
source pyenv/bin/activate
72
- pip install testgres==1.8.2
72
+ pip3 install testgres
73
73
74
74
echo " ############### Testing:"
75
75
if [ " $MODE " = " basic" ]; then
76
76
export PG_PROBACKUP_TEST_BASIC=ON
77
- python -m unittest -v tests
78
- python -m unittest -v tests.init
77
+ python3 -m unittest -v tests
78
+ python3 -m unittest -v tests.init
79
79
else
80
- python -m unittest -v tests.$MODE
80
+ python3 -m unittest -v tests.$MODE
81
81
fi
82
82
83
83
# Generate *.gcov files
You can’t perform that action at this time.
0 commit comments