Skip to content

Commit

Permalink
use miniconda in travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
piskvorky committed May 21, 2014
1 parent 1f297e2 commit be148f2
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ python:
- "3.3"
- "3.4"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev liblapack-dev gfortran
- travis_wait pip install --quiet numpy
- travis_wait pip install --quiet scipy
- wget 'http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh' -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install:
- python setup.py install
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip atlas numpy scipy
- python setup.py install
script: python setup.py test

0 comments on commit be148f2

Please sign in to comment.