Skip to content

Commit 3e793b7

Browse files
authored
Merge pull request #97 from rtfd/humitos/pypy-pip-installation
Call pip properly on pypy
2 parents cb0eb7e + 3911908 commit 3e793b7

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.travis.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ before_install:
99
- pip install pipenv
1010
install:
1111
- pipenv install
12-
script: pipenv run pytest
12+
script:
13+
- pipenv run pytest
14+
- docker build .
15+
16+
branches:
17+
only:
18+
- master

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ RUN pyenv local $PYTHON_VERSION_36 && \
177177
pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv
178178

179179
RUN pyenv local $PYPY_VERSION_35 && \
180-
pyenv exec pip install --no-cache-dir -U pip && \
180+
pyenv exec python -m ensurepip && \
181+
pyenv exec pip3 install --no-cache-dir -U pip && \
181182
pyenv exec pip install --no-cache-dir virtualenv
182183

183184
WORKDIR /

0 commit comments

Comments
 (0)