Skip to content

Commit 019eff8

Browse files
committed
using miniconda for fresh numpy installation
1 parent 2673e89 commit 019eff8

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,24 @@ before_install:
88
- sudo apt-get -qq install g++-4.8 gcc-4.8
99
- sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc
1010
- sudo ln -sf /usr/bin/g++-4.8 /usr/bin/g++
11+
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
12+
- chmod +x miniconda.sh
13+
- ./miniconda.sh -b
14+
- export PATH=/home/travis/miniconda/bin:$PATH
15+
- conda update --yes conda
16+
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
17+
- sudo rm -rf /dev/shm
18+
- sudo ln -s /run/shm /dev/shm
1119

1220
python:
1321
- "3.4"
1422
- "3.3"
1523
- "2.7"
16-
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
17-
# Note: we only use coveralls with Travis, not tox. pip install coveralls doesn't work on Windows.
18-
# This setup makes it possible for:
19-
# 1. the tests to be run with tox on Windows
20-
# 2. Windows users to use the requirements files without running into installation problems.
24+
2125
install:
22-
- pip install coveralls
23-
- pip install -r requirements.txt
26+
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy pip
27+
- pip install coveralls
28+
- pip install -r requirements.txt
2429

2530
# command to run tests, e.g. python setup.py test
2631
script: coverage run --source hope setup.py test

0 commit comments

Comments
 (0)