From 270e69a339cbb2c015770ad6f95cf9e14f213a2c Mon Sep 17 00:00:00 2001 From: buildsample Date: Fri, 22 May 2015 16:53:24 +0530 Subject: [PATCH 1/4] Update shippable.yml --- shippable.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/shippable.yml b/shippable.yml index 39ce1f9..9ffe9f7 100644 --- a/shippable.yml +++ b/shippable.yml @@ -17,9 +17,6 @@ before_script: - mkdir -p shippable/testresults - mkdir -p shippable/codecoverage - - - script: - nosetests test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml - which python && coverage run --branch test.py @@ -33,5 +30,5 @@ notifications: email: recipients: - buildsampletest@gmail.com - on_success: always + on_success: success on_failure: always From 312573d56e8def0f3e90544d0144a46eb44aa231 Mon Sep 17 00:00:00 2001 From: buildsample Date: Fri, 22 May 2015 16:55:27 +0530 Subject: [PATCH 2/4] 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() From 606fb70a54972cc646dd4e2e09cce66d40bbcdbb Mon Sep 17 00:00:00 2001 From: buildsample Date: Thu, 10 Dec 2015 17:29:01 +0530 Subject: [PATCH 3/4] Update shippable.yml --- shippable.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shippable.yml b/shippable.yml index 9ffe9f7..e8e35ed 100644 --- a/shippable.yml +++ b/shippable.yml @@ -1,5 +1,7 @@ language: python +build_image: drydock/u14pytpls:prod + python: - 2.7 - 2.6 @@ -26,6 +28,7 @@ script: after_script: - cp README.md ./shippable archive: true + notifications: email: recipients: From 322ed328231dd57812c4519248316005a303bf85 Mon Sep 17 00:00:00 2001 From: deconevidya Date: Thu, 10 Dec 2015 17:30:32 +0530 Subject: [PATCH 4/4] Update shippable.yml --- shippable.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index e8e35ed..82c5461 100644 --- a/shippable.yml +++ b/shippable.yml @@ -12,7 +12,8 @@ install: # Postgres binds to 127.0.0.1 by default and is started on boot. Default username is "postgres" with no password # Create a DB as part of before script to use it - +services: + - postgres before_script: - psql -c 'drop database if exists test;' -U postgres -w - psql -c "create database test;" -U postgres