Skip to content

Commit 23ac689

Browse files
committed
[travis] Work around pandas-dev/pandas#7284, plus some general tidying
1 parent 08af83d commit 23ac689

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.travis.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ env:
1212
before_install:
1313
- mkdir builds
1414
- pushd builds
15-
- pip install http://switch.dl.sourceforge.net/project/numpy/NumPy/${NUMPY_VER}/numpy-${NUMPY_VER}.tar.gz
15+
- pip install -q http://switch.dl.sourceforge.net/project/numpy/NumPy/${NUMPY_VER}/numpy-${NUMPY_VER}.tar.gz
1616
- sudo apt-get install libatlas-dev libatlas-base-dev liblapack-dev gfortran
17-
# 0.11.0 is the last scipy version with python 2.5 support
18-
# but 0.12.0 seems to be needed for py 3.3 support
19-
# notice the weird inversion here, since for exit values 0 = true, 1 = false
20-
- if python -c 'import sys; sys.exit(not(sys.version_info < (3, 3)))'; then pip install --use-mirrors scipy==0.11.0; else pip install --use-mirrors scipy; fi
21-
# current pandas requires python 2.6+
22-
- if python -c 'import sys; sys.exit(not (sys.version_info >= (2, 6)))'; then pip install --use-mirrors pandas; fi
23-
- pip install --use-mirrors coverage
17+
- pip install -q scipy
18+
# pandas 0.14.0 blows up on python 2.6:
19+
# https://github.com/pydata/pandas/issues/7284
20+
- pip install -q pandas==0.13.1
21+
- pip install -q coverage
2422
- popd
2523
- python -V
2624
- which nosetests
@@ -45,5 +43,4 @@ notifications:
4543
email:
4644
4745
after_success:
48-
# current coveralls requires python 2.6+
49-
- if python -c 'import sys; sys.exit(not (sys.version_info >= (2, 6)))'; then pip install --use-mirrors coveralls && coveralls; fi
46+
- pip install -q coveralls && coveralls

0 commit comments

Comments
 (0)