Skip to content

Commit

Permalink
speed up build using conda
Browse files Browse the repository at this point in the history
  • Loading branch information
KEggensperger committed Feb 11, 2015
1 parent 0fc3d6c commit 05a2e6b
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,18 +2,25 @@ language: python
python:
- "2.7"

virtualenv:
system_site_packages: true

before_install:
- sudo apt-get install -q libatlas3gf-base libatlas-dev liblapack-dev gfortran
- sudo apt-get install -q python-numpy python-scipy

install:
# Install conda
- sudo pip install conda
# install deps
- sudo conda init
- sudo conda update conda --yes
- deps='pip numpy scipy==0.13.2 matplotlib'
- conda create -p $HOME/py --yes $deps "python=$TRAVIS_PYTHON_VERSION"
- export PATH=$HOME/py/bin:$PATH
# install your own package into the environment
- python setup.py install

- easy_install -U distribute
#- pip install numpy
#- pip install scipy==0.13.2
- pip install matplotlib
#- pip install matplotlib
- python setup.py install
# command to run tests, e.g. python setup.py test
script: python setup.py test

0 comments on commit 05a2e6b

Please sign in to comment.