Skip to content

Update README.md #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +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/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)
8 changes: 7 additions & 1 deletion shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: python
python:
- 2.7
- 2.6


install:
- pip install -r requirements.txt
Expand All @@ -11,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
Expand All @@ -26,17 +28,21 @@ 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:
email:
recipients:
- buildsampletest@gmail.com
on_success: always
on_failure: always
on_failure: change

#build_image: shippable/minv2:beta
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy