Remove taking screenshots sent to AWS on failed tests

This commit is contained in:
Julia Amosova 2020-01-24 17:17:52 +00:00
parent d4c8719d1f
commit 0a5c866bc4
1 changed files with 0 additions and 9 deletions

View File

@ -10,13 +10,4 @@ if [ $1 == 'after' ]; then
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
if [[ ${RUN_E2E} == 1 && $(ls -A $TRAVIS_BUILD_DIR/screenshots) ]]; then
if [[ -z "${ARTIFACTS_KEY}" ]]; then
echo "Screenshots were not uploaded. Please run the e2e tests locally to see failures."
else
curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
artifacts upload
fi
fi
fi