diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..8d355cb --- /dev/null +++ b/.coveragerc @@ -0,0 +1,19 @@ +# this file is based on the examples provided on scikit-learn's .coveragerc + +[run] +omit = + */test* + */__init__.py +source = qiita_client +branch = True +include = */qiita_*/* + +[report] +exclude_lines = + pragma: no cover + def __repr__ + raise NotImplementedError + if __name__ == .__main__.: +omit = + */test* + */__init__.py diff --git a/.travis.yml b/.travis.yml index 0ebc1a0..e1e332d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,11 +11,11 @@ before_install: # Update conda itself - conda update --yes conda install: - - travis_retry conda create --yes -n env_name python=$PYTHON_VERSION pip nose flake8 + - travis_retry conda create --yes -n env_name python=$PYTHON_VERSION pip nose flake8 httpretty coverage - source activate env_name - travis_retry pip install . script: - - nosetests --with-doctest --with-coverage -v; fi + - nosetests --with-doctest --with-coverage - flake8 qiita_client setup.py after_success: - coveralls diff --git a/README.md b/README.rst similarity index 63% rename from README.md rename to README.rst index 090e0de..99f438d 100644 --- a/README.md +++ b/README.rst @@ -1,6 +1,11 @@ Qiita Client ============ +|Build Status| + Qiita (canonically pronounced *cheetah*) is an analysis environment for microbiome (and other "comparative -omics") datasets. This package includes the Qiita Client utility library, a library to simplify the communication between the plugins and the Qiita server. + +.. |Build Status| image:: https://travis-ci.org/qiita-spots/qiita_client.png?branch=master + :target: https://travis-ci.org/qiita-spots/qiita_client