Skip to content

Commit

Permalink
Merge branch 'development' of ssh://github.com:mfeurer/automl/HPOlib …
Browse files Browse the repository at this point in the history
…into development
  • Loading branch information
mfeurer committed Feb 11, 2015
2 parents 36e7794 + 1388d27 commit 85c5e04
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,29 @@ before_install:
- sudo apt-get install -q libatlas3gf-base libatlas-dev liblapack-dev gfortran

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
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.4.2-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

# Replace dep1 dep2 ... with your dependencies
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy==0.13.2 matplotlib
- source activate test-environment
- python setup.py install

- easy_install -U distribute
#- easy_install -U distribute
#- pip install numpy
#- pip install scipy==0.13.2
#- 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 85c5e04

Please sign in to comment.