Skip to content

Commit a4fbc45

Browse files
committed
[travis] the astropy wheelhouse just times out, so attempt to use conda instead
1 parent 8c04a0c commit a4fbc45

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.travis.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# After changing this file, check it on:
2-
# http://lint.travis-ci.org/
31
language: python
42
python:
53
- 2.6
@@ -8,18 +6,18 @@ python:
86
- 3.3
97
- 3.4
108
before_install:
11-
- mkdir builds
12-
- pushd builds
13-
#- pip install -q http://switch.dl.sourceforge.net/project/numpy/NumPy/${NUMPY_VER}/numpy-${NUMPY_VER}.tar.gz
14-
#- sudo apt-get install libatlas-dev libatlas-base-dev liblapack-dev gfortran
15-
# pandas 0.14.0 blows up on python 2.6:
16-
# https://github.com/pydata/pandas/issues/7284
17-
- pip install --no-index -f http://wheels2.astropy.org numpy scipy pandas
18-
- pip install coverage
19-
- popd
20-
- python -V
21-
- which nosetests
22-
- python -c 'import numpy; print(numpy.__version__)'
9+
# Escape Travis virtualenv
10+
- deactivate
11+
# See: http://conda.pydata.org/docs/travis.html
12+
- wget http://repo.continuum.io/miniconda/Miniconda3-3.6.0-Linux-x86_64.sh -O miniconda.sh
13+
- bash miniconda.sh -b -p $HOME/miniconda
14+
- export PATH="$HOME/miniconda/bin:$PATH"
15+
- hash -r
16+
- conda config --set always_yes yes --set changeps1 no
17+
- conda update -q conda
18+
- conda info -a
19+
- conda create -q -n $HOME/testenv python=$TRAVIS_PYTHON_VERSION numpy scipy pandas converage nosetests
20+
- source activate $HOME/testenv
2321
install:
2422
- python setup.py sdist
2523
- pip install dist/*

0 commit comments

Comments
 (0)