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..9be5b798 100755 --- a/shippable.yml +++ b/shippable.yml @@ -2,6 +2,12 @@ language: python python: - 2.7 + +env: + global: + - TICK=tock + - secure: PC8F3+2yVxt1a5JbBpqh7AUlco1sgSeC+hOCM1BjVbuoGCnrWSYzNIHKqWOja3Rifqg1+mehrOUlhDYPsOGnOi7eZa81wGkr5PLLV0UynuHqc5hVT5BxW1ADOvEiSVJaBEggfFpT/KLz5hwyTWecYk1UeL4/7x9S72c8OIdUKn3YdPkcufs6NIKC5C80fu3xjCCDRDvx3Wky/WmlNkHGZJqCG8M3JSzKajRIvW+rCOvSsCtj8oj0useUcbCTc0oBQBffS8Gte2j+Dw7OZjxmQVlNybEzFMOvxX2m18cQPmiqCJMv305MpVPfAiR0yVgo/VFeJwCFh4nU/Koq8YoP5g== + - secure: sWaI81BOCPvx/gWSdKXP/NPLywCQQgFUF1AxtsVzK5RbGI1TsVXOiUX3p0MkZF9wzEqyt6xKPKzO7aMdxXxITI7PWaRMMolAATCMd3JB0A0XHGbCyKOglO7BR2/Ak1UIV6s3sgquuQeUb4QHAEQy7XQhqV56kM2DvYC3Lok1R+ZzgYaUtCt89iWsQOuPmUXenMulrOhsMYKuS8rXqld1IkIVlHAd4mq6tZCkYnuZK+sNQLGeN71XDKYRcciZDf2Be8tdGqOa4roeUGyVrWXNEi5oqfBC81+084HNEGJt8IVWD96WPXt8AUG4h6U/AtqzxZcv7hc0l6NDmKg0BWLm5g== install: - pip install -r requirements.txt @@ -12,6 +18,13 @@ 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 \ No newline at end of file + #- 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 + - echo $SOME_VAR + - echo $FIZZ + +after_archive: + - env + +archive: true