From e1b3b7a0adaf4d2e98eefb50b6ee9f305fb6efd4 Mon Sep 17 00:00:00 2001 From: Vidya Raghavan Date: Tue, 1 Jul 2014 11:45:58 +0530 Subject: [PATCH 01/13] Update shippable.yml --- shippable.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/shippable.yml b/shippable.yml index 3bdcdf82..34e81b8e 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,8 +1,13 @@ language: 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 From de9d2fdb6383dbaa8cf63b4c5897b1fa5ea68b71 Mon Sep 17 00:00:00 2001 From: Patrick Ellis Date: Tue, 22 Jul 2014 11:48:12 -0700 Subject: [PATCH 02/13] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) 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. From bbf732f772dfa47312784cc11d1a262d5a8fd2ac Mon Sep 17 00:00:00 2001 From: ragsden Date: Thu, 16 Oct 2014 12:29:57 -0700 Subject: [PATCH 03/13] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 34e81b8e..eda56114 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,5 +1,5 @@ language: python - +build_image: shippableimages/ubuntu1204_python python: - 2.6 - 2.7 From 087c930c418ea0aa9410a48ac5cf594ebf89efd1 Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Thu, 25 Jun 2015 10:15:14 -0500 Subject: [PATCH 04/13] Fixed tests getting run twice Currently tests are getting run twice, when they only need to be run once. I also added .coveragerc file to control coverage settings. --- .coveragerc | 9 +++++++++ .gitignore | 2 ++ shippable.yml | 8 ++++---- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .coveragerc create mode 100644 .gitignore diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..34a1bebf --- /dev/null +++ b/.coveragerc @@ -0,0 +1,9 @@ +# .coveragerc to control coverage + +[run] +branch = True + +source = . + +[html] +directory = htmlcov diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..89437a9d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.coverage +shippable/ diff --git a/shippable.yml b/shippable.yml index eda56114..64c88347 100755 --- a/shippable.yml +++ b/shippable.yml @@ -7,7 +7,7 @@ python: - 3.3 - 3.4 - pypy - + install: - pip install -r requirements.txt @@ -17,9 +17,9 @@ before_script: - 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 + - which python + - coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml + - coverage xml -o shippable/codecoverage/coverage.xml notifications: email: From 6a64cfecacd71b36d383c838f72f8508ef4edf71 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 11:40:57 +0530 Subject: [PATCH 05/13] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 64c88347..79563190 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,5 +1,5 @@ language: python -build_image: shippableimages/ubuntu1204_python +#build_image: shippableimages/ubuntu1204_python python: - 2.6 - 2.7 From 32648e08bc582e8b222105f001f11422f2dbf271 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 11:44:23 +0530 Subject: [PATCH 06/13] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0f675189..a4b1075f 100755 --- a/README.md +++ b/README.md @@ -4,3 +4,4 @@ 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. +#pr1 From ef57848a17c813262245153bf110df8310fa1142 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 11:49:45 +0530 Subject: [PATCH 07/13] Update shippable.yml --- shippable.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/shippable.yml b/shippable.yml index 79563190..a3130b6c 100755 --- a/shippable.yml +++ b/shippable.yml @@ -19,6 +19,7 @@ before_script: script: - which python - coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml + - which python && coverage run --branch test.py - coverage xml -o shippable/codecoverage/coverage.xml notifications: From 6f35b14ab54fc0f9197ac1dcfff3bf179d5ab8d8 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 11:55:37 +0530 Subject: [PATCH 08/13] Update shippable.yml --- shippable.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shippable.yml b/shippable.yml index a3130b6c..3dbf1601 100755 --- a/shippable.yml +++ b/shippable.yml @@ -25,3 +25,8 @@ script: notifications: email: - exampleone@org.com + + +matrix: + allow_failures: + - python: 3.2 From d410d0ee5b6ab36f1d3559c84e56faf308d8be22 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 11:58:54 +0530 Subject: [PATCH 09/13] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 3dbf1601..d83ac2ab 100755 --- a/shippable.yml +++ b/shippable.yml @@ -29,4 +29,4 @@ notifications: matrix: allow_failures: - - python: 3.2 + - python: "3.2" From 7ba0c673b9e1850840078b08efd9eb11a1f0c991 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 13:03:08 +0530 Subject: [PATCH 10/13] Update shippable.yml --- shippable.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shippable.yml b/shippable.yml index d83ac2ab..ab26f019 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,12 +1,12 @@ language: python #build_image: shippableimages/ubuntu1204_python python: - - 2.6 - - 2.7 + # - 2.6 + #- 2.7 - 3.2 - 3.3 - - 3.4 - - pypy + #- 3.4 + #- pypy install: - pip install -r requirements.txt From 1e2d58940512a444b5b106df29a5d4cf7777d394 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 15:22:08 +0530 Subject: [PATCH 11/13] Update shippable.yml --- shippable.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shippable.yml b/shippable.yml index ab26f019..d700256d 100755 --- a/shippable.yml +++ b/shippable.yml @@ -8,6 +8,8 @@ python: #- 3.4 #- pypy + + install: - pip install -r requirements.txt From d3338df49baf27b34387f4ff795ad5692aadec7a Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 15:26:05 +0530 Subject: [PATCH 12/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4b1075f..cb15298d 100755 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ 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. -#pr1 +#pr+webhook From b907cf79d93556f7e028efa60a04ea8f1efe4ce7 Mon Sep 17 00:00:00 2001 From: vidyatest-0001 Date: Fri, 16 Oct 2015 15:36:22 +0530 Subject: [PATCH 13/13] [skip ci] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a6c88f59..47797165 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ nose -coverage +coverage<4