diff --git a/shippable.yml b/shippable.yml index 5320f51..0e10267 100644 --- a/shippable.yml +++ b/shippable.yml @@ -9,7 +9,7 @@ install: # Postgres binds to 127.0.0.1 by default and is started on boot. Default username is "postgres" with no password # Create a DB as part of before script to use it - +archive: true before_script: - psql -c 'create database test;' -U postgres - mkdir -p shippable/testresults @@ -20,5 +20,8 @@ script: - which python && coverage run --branch test.py - which python && coverage xml -o shippable/codecoverage/coverage.xml test.py - echo $Foo + - echo $test env: - secure: LCY+q7gdonYbAO4akZAks+Cj8CxLiP00QH5kS9Ko6dni30x8r2CWhZJ2Sr2aSNjMG/mBthhRkBZVy1NA6lOQTTUJfUgXGRM+06On445bL7KxWVe5zkVC+hDsXN5EC/jkoHdqCbZ6Su8Y3JcYc0nijgIfC5NEd2OeZzXafpK6aZxtCOBQn4xSCIn7lakPTXeK1VqL7GyX8YTOJLuFSxIkeO9uOkcBHmDsw8rDoUIKN5WHfXO/CxCzPgwYLorMx+hDVpiGToIm0+cer1F6ETht+wet5+YYJeZnOsnMqDM8y1ZYxZypp/Atuzf/anLV0bsSTS9HoBRmos5Pwhzgb5JubQ== + global: + - secure: LCY+q7gdonYbAO4akZAks+Cj8CxLiP00QH5kS9Ko6dni30x8r2CWhZJ2Sr2aSNjMG/mBthhRkBZVy1NA6lOQTTUJfUgXGRM+06On445bL7KxWVe5zkVC+hDsXN5EC/jkoHdqCbZ6Su8Y3JcYc0nijgIfC5NEd2OeZzXafpK6aZxtCOBQn4xSCIn7lakPTXeK1VqL7GyX8YTOJLuFSxIkeO9uOkcBHmDsw8rDoUIKN5WHfXO/CxCzPgwYLorMx+hDVpiGToIm0+cer1F6ETht+wet5+YYJeZnOsnMqDM8y1ZYxZypp/Atuzf/anLV0bsSTS9HoBRmos5Pwhzgb5JubQ== + - secure: hmTfKYxsSN2lVhBwjA4aNorsS7iUtu365qDJGySuT4iI9qCTceL9qOLqpwaukWwU1PlRqBfOcdm57cjogWh+hjKVVkBs1x0wKO5AylOLQPckElZgg4aTVNk/u99uIjSgoQ7KLq5KhIumd/eNz/Q/2t0jc4J5c2pcaGfZ5udj5p7UQddJUQzNSYJl8PBhWaIrqWUITkCHHpFpwm9PbVNpYAdtMSxRda57qO8o++PXn6NvSXbFbkmZkjRZCHa+WU97ZiGB3cxX9MD52zQBq6+DBHM56pPzJDK8Z91FTTQ8ycziHQqVqViwO27vBCcW/uYmUsD1AqZIW1n6QGPiRQB31Q== diff --git a/test.py b/test.py index df9deba..f076672 100644 --- a/test.py +++ b/test.py @@ -8,7 +8,7 @@ def test_db(self): pg = Postgres() pg.populate() count = pg.read() - self.failIf(count != 5) + self.failIf(count != 4) pg.disconnect()