From 2f7a4d4cb368dd618a98aabb7a271dccf623a844 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 9 Mar 2015 16:38:04 +0530 Subject: [PATCH 01/10] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b26a1c..1b8b704 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,5 @@ Python PostgreSQL Sample [![Build Tests basic SQL commands using the psycopg2 driver for Python. jun 10 -[![Build Status](https://apibeta.shippable.com/projects/5420089b76d0c288e441e5fa/badge?branchName=master)](https://appbeta.shippable.com/projects/5420089b76d0c288e441e5fa/builds/latest) + +[![Build Status](https://apibeta.shippable.com/projects/54d9b38291426fd6a78cd67f/badge?branchName=master)](https://appbeta.shippable.com/projects/54d9b38291426fd6a78cd67f/builds/latest) From 0413c70a8f9081267f351345a9610fcd152a522a Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 9 Mar 2015 16:41:14 +0530 Subject: [PATCH 02/10] Update test.py --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index df9deba..9eae9ba 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 != 5) + self.failIf(count != 6) pg.disconnect() From be38a71dee84c29b3bf6ec443e88adc906aa7d34 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 9 Mar 2015 16:58:50 +0530 Subject: [PATCH 03/10] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1b8b704..a7f0a6d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Python PostgreSQL Sample [![Build ====================== Tests basic SQL commands using the psycopg2 driver for Python. + jun 10 [![Build Status](https://apibeta.shippable.com/projects/54d9b38291426fd6a78cd67f/badge?branchName=master)](https://appbeta.shippable.com/projects/54d9b38291426fd6a78cd67f/builds/latest) From d1a5bf418c908c25339508115462855a29f19317 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 9 Mar 2015 17:00:32 +0530 Subject: [PATCH 04/10] Update shippable.yml --- shippable.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shippable.yml b/shippable.yml index fe26434..3f0e749 100644 --- a/shippable.yml +++ b/shippable.yml @@ -3,6 +3,7 @@ language: python python: - 2.7 - 2.6 + install: - pip install -r requirements.txt @@ -26,10 +27,13 @@ script: env: global: - FOO=fooval SHIPPABLE_POSTGRES_CMD='sudo -u postgres $SHIPPABLE_POSTGRES_BINARY -c config_file=/etc/postgresql/$SHIPPABLE_POSTGRES_VERSION/main/postgresql.conf -c fsync=off' + - secure: Frr0m4gvASImyseMvGe58LHWsh3DbEBz2NsySKSHcHGnIXps8xg6xjGXRKevxDsUrNIOywV9JJGBMaqxhWSJGRP7I0XWQ1+odHKMNMCp6bLSo+lCveairnndRgnievx7XMnah8oomHuMUoAehq201sQ4QUKJCBBFmpmeEt7o8F5WqyXNLdSqVbB4dJ8yMcrjjSOtXSYbVq90nkBwC2GqriSr9NKbGvcy/QI0zYSpllT7Oulj0tWjOIo+raUazWr/aNfyarAjrf3lTBJdkFxXzMYCS5ubLVdOIZUvWVotlv1PiH/igW9kEblzzNymJaRNkLYJsOn6NOIHAFKVsbGKxA== # - secure: e3IF2H+i8bq+GzgbMoR1WY5WAYqOYviZWWUQobtNAVW0Lq1N1EJURJ98L34vf7Yrsx9YBuaOGAcRFx7MDNyrNtmPkXtZVkODSBzRIwwwCO3D3wrSIig6QxvRGRmDMIIMFFTf92SRcu0WfwD+qe9aQSH5hDM5uqOQX7tsD+xScaiGF5ShvhrBjHZNOq7LlLwU1LpmJCj7RlwzCVGSqdUicAhhh5xBK+QmJkC6BQWJq9OZsNchwQKDmacDoyZbqrpSmclbkNuSG6x6EE0HZ/WKYbadCjxRMFtk0wVsQsfkMh42/jNMalkLDpMBfa+/3C6nwanXm0yfqdMdAi+IGv9xUA== #cache: true after_script: - cp README.md ./shippable + - echo $beta + archive: true notifications: From a877b377733c7ea23ad2be9ebaabd17f56e6cd29 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 9 Mar 2015 17:01:22 +0530 Subject: [PATCH 05/10] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 3f0e749..4bf5d7b 100644 --- a/shippable.yml +++ b/shippable.yml @@ -41,6 +41,6 @@ notifications: recipients: - buildsampletest@gmail.com on_success: always - on_failure: always + on_failure: change #build_image: shippable/minv2:beta From 98d2e3a47dc3d876d5bef00c8c0a62c7994fb156 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 9 Mar 2015 17:02:44 +0530 Subject: [PATCH 06/10] Update shippable.yml --- shippable.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/shippable.yml b/shippable.yml index 4bf5d7b..97409d7 100644 --- a/shippable.yml +++ b/shippable.yml @@ -12,6 +12,7 @@ addons: postgresql: "9.1" # 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 + before_script: - psql -c 'drop database if exists test;' -U postgres -w - psql -c "create database test;" -U postgres From 77bd4caa0d04f448153b3a6d7158563faad6bbd4 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 9 Mar 2015 17:03:18 +0530 Subject: [PATCH 07/10] Update shippable.yml --- shippable.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/shippable.yml b/shippable.yml index 97409d7..82755bd 100644 --- a/shippable.yml +++ b/shippable.yml @@ -35,6 +35,7 @@ after_script: - cp README.md ./shippable - echo $beta + archive: true notifications: From b02ae2d44cfe9ff3cd9b7e694eb86697b0098e06 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 13 Jul 2015 15:19:51 +0530 Subject: [PATCH 08/10] test 9.2 --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 82755bd..09bdbf5 100644 --- a/shippable.yml +++ b/shippable.yml @@ -9,7 +9,7 @@ install: - pip install -r requirements.txt addons: - postgresql: "9.1" + postgresql: "9.2" # 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 From 43e117d77121b47954205e92579bf2aa8bd27e98 Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 13 Jul 2015 15:27:07 +0530 Subject: [PATCH 09/10] Update test.py --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 9eae9ba..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 != 6) + self.failIf(count != 5) pg.disconnect() From 312ccd0ed2499ec37a192b70e2c810542d55456a Mon Sep 17 00:00:00 2001 From: buildsample Date: Mon, 13 Jul 2015 21:07:50 +0530 Subject: [PATCH 10/10] Revert "test 9.2" --- shippable.yml | 2 +- test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shippable.yml b/shippable.yml index 09bdbf5..82755bd 100644 --- a/shippable.yml +++ b/shippable.yml @@ -9,7 +9,7 @@ install: - pip install -r requirements.txt addons: - postgresql: "9.2" + postgresql: "9.1" # 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 diff --git a/test.py b/test.py index df9deba..9eae9ba 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 != 5) + self.failIf(count != 6) pg.disconnect()