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/javaExc.txt b/javaExc.txt new file mode 100644 index 00000000..baf4ae2c --- /dev/null +++ b/javaExc.txt @@ -0,0 +1,4 @@ +Exception in thread "main" java.lang.NullPointerException + at com.example.myproject.Book.getTitle(Book.java:16) + at com.example.myproject.Author.getBookTitles(Author.java:25) + at com.example.myproject.Bootstrap.main(Bootstrap.java:14) diff --git a/shippable.yml b/shippable.yml index 3bdcdf82..f14e1792 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,8 +1,19 @@ language: python python: - - 2.7 - + - 2.6 + # - 2.7 + #- 3.2 + #- 3.3 + #- 3.4 + #- 3.5 + #- pypy + #- pypy3 + +env: + - FOO=TEST + - TEST=BOO + install: - pip install -r requirements.txt @@ -14,4 +25,36 @@ 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 + - cat javaExc.txt + - echo -e "\e[31mHello World\e[0m" + +notifications: + - email: + recipients: + - varsha@shippable.com + - notify_ci34@yahoo.in + # - -- last_committer + on_success: always + on_failure: always + on_start: always + on_pull_request: always +# - slack: + # account_integration: 566e4536b6bf9f1100524787 + # recipients: + # - '#slacktestck' + #on_success: always + #on_failure: always + #on_start: change + #on_pull_request: never + - irc: + recipients: + - "chat.freenode.net#test-irc" + on_failure: always + on_start: always + on_pull_request: always + on_success: always + +#cache: true + +#archive: true