From e8c3d2447abb9a5ad0eef6ec86d1f5cc6fe1ff47 Mon Sep 17 00:00:00 2001 From: bannanc Date: Wed, 7 Feb 2018 19:54:07 -0800 Subject: [PATCH 1/4] add coverage to travis tests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 21633d0..f4ad97e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ script: - conda install --yes --use-local smarty # Run tests - conda install --yes nose nose-timer - - cd devtools && nosetests -vv --nocapture --with-timer $PACKAGENAME && cd .. + - cd devtools && nosetests -vv --nocapture --with-coverage --with-timer $PACKAGENAME && cd .. env: matrix: From ffcc5572809e6612846bc43f43ce5371dbe4f002 Mon Sep 17 00:00:00 2001 From: bannanc Date: Wed, 7 Feb 2018 20:02:18 -0800 Subject: [PATCH 2/4] add coverage badge to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 391442c..942718d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/openforcefield/smarty.svg?branch=master)](https://travis-ci.org/openforcefield/smarty?branch=master) +[![codecov](https://codecov.io/gh/openforcefield/smarty/branch/master/graph/badge.svg)](https://codecov.io/gh/openforcefield/smarty) [![DOI](https://zenodo.org/badge/60921138.svg)](https://zenodo.org/badge/latestdoi/60921138) # `smarty`: Exploring Bayesian atom type sampling From dcee2ca2e95280442981a35e7f299faba19501eb Mon Sep 17 00:00:00 2001 From: bannanc Date: Wed, 7 Feb 2018 20:08:41 -0800 Subject: [PATCH 3/4] add openforcefield pinned version in travis --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f4ad97e..5188666 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,8 +23,7 @@ script: # Use beta version for partial bond orders - pip install --pre -i https://pypi.anaconda.org/openeye/label/beta/simple openeye-toolkits && python -c "import openeye; print(openeye.__version__)" # Install openforcefield tools - # TODO if changes to openforcefield become less dynamic switch to conda install? - - pip install git+https://github.com/openforcefield/openforcefield.git + - conda install -c omnia openforcefield=0.0.3 # Build the recipe - conda build devtools/conda-recipe # Install From 75a83cf3d1b3cc542a7cb02f8c04787bfc162997 Mon Sep 17 00:00:00 2001 From: bannanc Date: Thu, 8 Feb 2018 10:36:49 -0800 Subject: [PATCH 4/4] fix openforcefield install line --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5188666..f835dc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ script: # Use beta version for partial bond orders - pip install --pre -i https://pypi.anaconda.org/openeye/label/beta/simple openeye-toolkits && python -c "import openeye; print(openeye.__version__)" # Install openforcefield tools - - conda install -c omnia openforcefield=0.0.3 + - conda install --yes -c omnia openforcefield=0.0.3 # Build the recipe - conda build devtools/conda-recipe # Install