diff --git a/README.md b/README.md index ec522d27..2ab04e8b 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ Python Sample ===================== - +test Simple Python sample with tests using Nose and Coverage. + +This sample is built for Shippable, a docker based continuous integration and deployment platform. +[![Build Status](https://apibeta.shippable.com/projects/54192a7576d0c288e441cf12/badge?branchName=master)](https://appbeta.shippable.com/projects/54192a7576d0c288e441cf12/builds/latest) diff --git a/shippable.yml b/shippable.yml index 3bdcdf82..9732ca7d 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,7 +1,10 @@ language: python + python: - - 2.7 + - 3.2 + - 3.3 + - 3.4 install: - pip install -r requirements.txt @@ -10,8 +13,27 @@ install: before_script: - mkdir -p shippable/testresults - mkdir -p shippable/codecoverage + - printenv 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 \ No newline at end of file + - which python && coverage xml -o shippable/codecoverage/coverage.xml test.py + + +archive: true +notifications: + email: + recipients: + - vidya@shippable.com + - buildsampletest@gmail.com + on_success: change + on_failure: always + + + +branches: + only: + - dev + - test-pr + - master