Skip to content

Instantly share code, notes, and snippets.

@chengsoonong
Created July 13, 2015 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chengsoonong/81c23376d6b311736e9a to your computer and use it in GitHub Desktop.
Save chengsoonong/81c23376d6b311736e9a to your computer and use it in GitHub Desktop.
travis, coveralls, pydata
# pydata with anaconda: an example
language: python
python:
- "3.4"
notifications:
email: false
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- 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 install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy pandas matplotlib scikit-learn
- conda install --yes -c dan_blanchard python-coveralls
- conda install --yes seaborn
install:
- python setup.py install
script:
- nosetests --with-coverage --cover-package=mclearn
after_success:
- coveralls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment