Skip to content

Commit

Permalink
Merge pull request #118 from synthicity/travis-conda
Browse files Browse the repository at this point in the history
Trying new way of installing conda
  • Loading branch information
jiffyclub committed Sep 24, 2014
2 parents 1c273e8 + 2e96cd7 commit 0c10dc5
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@ language: python
python:
- '2.7'
install:
- sudo pip install conda
- sudo conda init
- sudo conda update --yes conda
- |
conda create -p $HOME/py --yes ipython-notebook jinja2 matplotlib numpy pandas patsy pip scipy statsmodels pandana pytables pytest pyyaml toolz "python=$TRAVIS_PYTHON_VERSION" -c "synthicity"
- export PATH=$HOME/py/bin:$PATH
- sudo apt-get update
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- >
conda create -q -c synthicity -n test-environment
python=$TRAVIS_PYTHON_VERSION
ipython-notebook jinja2 matplotlib numpy pandas patsy pip scipy statsmodels
pandana pytables pytest pyyaml toolz
- source activate test-environment
- pip install simplejson bottle
- pip install pytest-cov coveralls pep8
- pip install .
Expand Down

0 comments on commit 0c10dc5

Please sign in to comment.