Travis CI: print api and dynamodb log after failure