Skip to content
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Python Sample
=====================



Simple Python sample with tests using Nose and Coverage.

This sample is built for Shippable, a docker based continuous integration and deployment platform.




This sample is built for Shippable, a docker based continuous integration and deployment platform.

sdfsf
21 changes: 14 additions & 7 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ language: python

python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
# - 2.7
# - 3.2
# - 3.3
# - 3.4
# - pypy

install:
- pip install -r requirements.txt
Expand All @@ -15,13 +15,20 @@ install:
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
- which python && coverage xml -o shippable/codecoverage/coverage.xml test.py

build_image: shippable/minv2
#build_image:
# name: shippable/minv2
# net: host
# privileged: true
# run_command: 'echo hello cruel world'


notifications:
email:
- exampleone@org.com
- devashish+notify1@shippable.com