Merge pull request #2225 from pypa/docker

Docker–based tests (experiment)
This commit is contained in:
2018-05-23 15:06:21 -04:00
committed by GitHub
4 changed files with 12 additions and 6 deletions
+1
View File
@@ -1,4 +1,5 @@
steps:
- label: ":python:"
commands:
# - make
- ./run-tests.sh
+2 -6
View File
@@ -1,11 +1,7 @@
FROM ubuntu:17.10
FROM ubuntu:18.04
# -- Install Pipenv:
RUN apt-get update \
&& apt-get install software-properties-common python-software-properties -y \
&& add-apt-repository ppa:pypa/ppa -y \
&& apt-get update \
&& apt-get install git pipenv -y
RUN apt update && apt install python3-pip -y && pip3 install pipenv
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
+2
View File
@@ -0,0 +1,2 @@
test:
docker-compose up
+7
View File
@@ -0,0 +1,7 @@
version: '3'
services:
pipenv-tests:
image: kennethreitz/pipenv-tests
command: bash /pipenv/run-tests.sh
volumes:
- .:/pipenv