Skip to content

Commit

Permalink
fail the build if integration tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenkov committed Dec 21, 2017
1 parent d4a1b85 commit 3061f5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ script:
- export SO_S3_URL=$SO_S3_URL/$(python -c 'from uuid import uuid4;print(uuid4())')
- if [[ ${SO_DISABLE_MOCKS} = "1" ]]; then
pip install pytest pytest_benchmark awscli;
set -e;
py.test integration-tests/test_s3.py --benchmark-save=`git rev-parse HEAD`;
set +e;
aws s3 cp .benchmarks/*/*.json ${SO_S3_RESULT_URL};
aws s3 rm --recursive $SO_S3_URL;
fi
Expand Down

0 comments on commit 3061f5b

Please sign in to comment.