Skip to content

Commit 68c2def

Browse files
author
y-p
committed
Merge pull request #2365 from y-p/travis-fix
BLD: temporary workaround for travis numpy/py3 woes
2 parents a240b29 + abcc096 commit 68c2def

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,17 @@ python:
77
- 3.2
88

99
install:
10-
- pip install --use-mirrors cython numpy nose pytz python-dateutil
10+
- export PYTHONIOENCODING=utf8 # activate venv 1.8.4 "detach" fix
11+
- virtualenv --version
12+
- whoami
13+
- pwd
14+
# install 1.7.0b2 for 3.3, and pull a version of numpy git master
15+
# with a alternate fix for detach bug as a temporary workaround
16+
# for the others.
17+
- "if [ $TRAVIS_PYTHON_VERSION == '3.3' ]; then pip uninstall numpy; pip install http://downloads.sourceforge.net/project/numpy/NumPy/1.7.0b2/numpy-1.7.0b2.tar.gz; fi"
18+
- "if [ $TRAVIS_PYTHON_VERSION == '3.2' ] || [ $TRAVIS_PYTHON_VERSION == '3.1' ]; then pip install --use-mirrors git+git://github.com/numpy/numpy.git@089bfa5865cd39e2b40099755e8563d8f0d04f5f#egg=numpy; fi"
19+
- "if [ ${TRAVIS_PYTHON_VERSION:0:1} == '2' ]; then pip install numpy; fi" # should be nop if pre-installed
20+
- pip install --use-mirrors cython nose pytz python-dateutil
1121

1222
script:
1323
- python setup.py build_ext install

0 commit comments

Comments
 (0)