diff --git a/README.md b/README.md index ec522d27..0f675189 100755 --- a/README.md +++ b/README.md @@ -2,3 +2,5 @@ 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. diff --git a/shippable.yml b/shippable.yml index 3bdcdf82..eda56114 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,8 +1,13 @@ language: python - +build_image: shippableimages/ubuntu1204_python python: + - 2.6 - 2.7 - + - 3.2 + - 3.3 + - 3.4 + - pypy + install: - pip install -r requirements.txt @@ -14,4 +19,8 @@ before_script: 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 + +notifications: + email: + - exampleone@org.com diff --git a/test.py b/test.py index e090dee3..73032093 100755 --- a/test.py +++ b/test.py @@ -6,7 +6,7 @@ class TestSuite(unittest.TestCase): def test(self): app = App() app.calculate() - self.failIf(app.retrieve() != 62) + self.failIf(app.retrieve() != 64) def main():