File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,7 @@ COPY setup.py .
99COPY requirements.txt .
1010COPY README.md .
1111COPY twilio ./twilio
12+ COPY tests ./tests
1213
1314RUN pip install .
15+ RUN pip install -r tests/requirements.txt
Original file line number Diff line number Diff line change 1- .PHONY : clean install analysis test test-install develop docs docs-install
1+ .PHONY : clean install analysis test test-install test-docker develop docs docs-install
22
33venv :
44 @python --version || (echo " Python is not installed, Python 3.6+" ; exit 1);
@@ -10,6 +10,10 @@ install: venv
1010test-install : install
1111 . venv/bin/activate; pip install -r tests/requirements.txt
1212
13+ test-docker :
14+ docker build -t twilio/twilio-python .
15+ docker run twilio/twilio-python pytest tests
16+
1317develop : venv
1418 . venv/bin/activate; pip install -e . --use-mirrors
1519 . venv/bin/activate; pip install -r tests/requirements.txt
You can’t perform that action at this time.
0 commit comments