Skip to content

Commit

Permalink
ADD coverall support and miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
KEggensperger committed Nov 17, 2015
1 parent d1d3919 commit 9391a2c
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ python:
- "2.7"
- "3.4"


cache:
- pip
- apt
directories:
- $HOME/.cache/pip
pip: true

sudo: false

before_cache:
- rm -f $HOME/.cache/pip/log/debug.log

# command to install dependencies
addons:
apt:
Expand All @@ -18,21 +23,21 @@ addons:
- libatlas-base-dev
- gfortran

before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda

install:
- easy_install -U distribute
- pip install --upgrade pip
- pip install numpy==1.9.0
- travis_wait pip install scipy==0.16.1
- pip install scikit-learn==0.16.1
- pip install Cython
- pip install pandas
-
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy=1.9.0 scipy=0.16.0 nose scikit-learn=0.16.1 mock Cython pandas
- pip install pep8 python-coveralls
- pip install coverage

# Install requirements from other repos
- pip install git+https://github.com/automl/HPOlibConfigSpace.git
- pip install git+https://github.com/automl/paramsklearn.git

- python setup.py install
- coverage run --source autosklearn setup.py test

# command to run tests, e.g. python setup.py test
script: python setup.py test
after_success: coveralls

0 comments on commit 9391a2c

Please sign in to comment.