Skip to content

Commit

Permalink
Change a way of setting up python environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ololobus committed May 19, 2020
1 parent 0da843c commit 3880d60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion travis/Dockerfile.in
Expand Up @@ -2,7 +2,11 @@ FROM ololobus/postgres-dev:stretch

USER root
RUN apt-get update
RUN apt-get -yq install python python-pip python-virtualenv
RUN apt-get -yq install python python-pip

# RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# RUN python2 get-pip.py
RUN python2 -m pip install virtualenv

# Environment
ENV PG_MAJOR=${PG_VERSION} PG_BRANCH=${PG_BRANCH}
Expand Down
2 changes: 1 addition & 1 deletion travis/run_tests.sh
Expand Up @@ -60,7 +60,7 @@ make USE_PGXS=1 top_srcdir=$PG_SRC install

# Setup python environment
echo "############### Setting up python env:"
virtualenv pyenv
python2 -m virtualenv pyenv
source pyenv/bin/activate
pip install testgres==1.8.2

Expand Down

0 comments on commit 3880d60

Please sign in to comment.