Skip to content

Commit

Permalink
Merge pull request #80 from kyleabeauchamp/jenkins
Browse files Browse the repository at this point in the history
Skip some tests on jenkins to save time.
  • Loading branch information
kyleabeauchamp committed Jan 13, 2015
2 parents 0a301b0 + 2158b15 commit 19775a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gaff2xml/tests/test_drugs_no_oechem.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_drugs():

n_molecules = 3404
CHARGE_METHOD = "bcc"
if os.environ.get("TRAVIS", None) == 'true':
if (os.environ.get("TRAVIS", None) == 'true') or (os.environ.get("JENKINS_URL", None) is not None):
n_molecules = 25 # If running on travis, only test the first 25 molecules due to speed.
CHARGE_METHOD = None # Travis is actually too slow to do a single bcc calculation!

Expand Down
1 change: 1 addition & 0 deletions gaff2xml/tests/test_freesolv.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

@skipIf(find_executable('obabel') is None, 'You need obabel installed to run this test')
@skipIf(os.environ.get("TRAVIS", None) == 'true', "Skip testing of entire FreeSolv database on Travis.")
@skipIf(os.environ.get("JENKINS_URL", None) is not None, "Skip testing of entire FreeSolv database on Jenkins.")
def test_load_freesolv_gaffmol2_vs_sybylmol2_vs_obabelpdb():
with utils.enter_temp_directory():

Expand Down

0 comments on commit 19775a3

Please sign in to comment.