From 0e01578dc6a68ae56ab0cd573475e743c87255fd Mon Sep 17 00:00:00 2001 From: testvidya11 Date: Thu, 4 Dec 2014 13:35:00 +0530 Subject: [PATCH 1/2] Update shippable.yml --- shippable.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 39ce1f9..2f1fa24 100644 --- a/shippable.yml +++ b/shippable.yml @@ -18,12 +18,15 @@ before_script: - mkdir -p shippable/codecoverage - +env: + - secure: Zh55KXi8uR24FQ4Y0cd+Y9Hfp5djDtV365igSiduZvYGzwFU4t1x04ula4XmKaGgbmO16y5E/N0oSWxF12iAK4hy6hT+KOTT4+H62/2nMTntvf69YDUlO1g9JslveMqUurQZ6jFKMhzmhBnQ9EvKIDJEZCgAIfmT4r67cCnGbnGxxOQ5zTCsFbyTOG9oma4Aam2W6Bd0mZySbRnbXIaqk/44uyc75AWF8ZcHjTpgKjL2HPXF7RE9xBu9yY8FuxpUdr4haBmxd4g9gCg+2NGv3Gtt28CYbQaK/V5Mn5Ebdtj3It0pijA32BdUXO+/q1N8SHKClw3Ep45nVpoKPWVMkA== script: + - echo $key1 - nosetests test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml - which python && coverage run --branch test.py - which python && coverage xml -o shippable/codecoverage/coverage.xml test.py + #cache: true after_script: From 9c7027988d1386470bb7d51e626c3b5a8bd6de8c Mon Sep 17 00:00:00 2001 From: testvidya11 Date: Thu, 4 Dec 2014 13:38:26 +0530 Subject: [PATCH 2/2] Update test.py --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index f076672..df9deba 100644 --- a/test.py +++ b/test.py @@ -8,7 +8,7 @@ def test_db(self): pg = Postgres() pg.populate() count = pg.read() - self.failIf(count != 4) + self.failIf(count != 5) pg.disconnect()