8000 Change make venv to use standard python binary (fixes Travis-CI not u… · ekCit/twilio-python@a99e483 · GitHub
[go: up one dir, main page]

Skip to content

Commit a99e483

Browse files
committed
Change make venv to use standard python binary (fixes Travis-CI not using correct Python version in each test environment)
Install appropriate version of virtualenv for python, fixes Python 3.6 build because Travis-CI comes with virtualenv 12.0.1 by default
1 parent 21fc89a commit a99e483

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ python:
77
- "3.5"
88
- "3.6"
99
install:
10+
- pip install virtualenv --upgrade
1011
- make install
1112
- make test-install
12-
script:
13+
script:
1314
- make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: clean install analysis test test-install develop docs docs-install
22

33
venv:
4-
virtualenv venv
4+
virtualenv --python=python venv
55

66
install: venv
77
. venv/bin/activate; pip install .

0 commit comments

Comments
 (0)
0