Skip to content

Commit

Permalink
TST Use miniconda in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Mar 18, 2015
1 parent 42dd2b2 commit 833ec29
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@ language: python
python:
- "2.7"
- "3.3"
virtualenv:
system_site_packages: true
- "3.4"
before_install:
- 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
- sudo apt-get update -qq
- sudo apt-get install -qq python-numpy libatlas-dev liblapack-dev gfortran
- pip install numpy --quiet
- sudo apt-get install -qq libatlas-dev liblapack-dev
install:
- pip install coveralls
- conda create --yes -n condaenv python=$TRAVIS_PYTHON_VERSION numpy=1.9
- conda install --yes -n condaenv scipy matplotlib pillow nose pip
- conda install --yes -n condaenv -c https://conda.binstar.org/luispedro imread
- source activate condaenv
- pip install --quiet coveralls
- python setup.py build --build-lib=.
script:
coverage run --source=milksets setup.py test
Expand Down

0 comments on commit 833ec29

Please sign in to comment.