diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-04-23 17:54:08 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-04-23 17:54:08 -0700 |
commit | b528d7cc039f2a0abbf1eb6c77a7fc2099bc3a19 (patch) | |
tree | f7f585c1e3795f3746e8cafc76a4cf3ab933e788 /scripts/ios_travis/upload_screenshots.sh | |
parent | 75980a8905b9130ef7a87eb65c66c8a98437c081 (diff) | |
download | qtlocation-mapboxgl-b528d7cc039f2a0abbf1eb6c77a7fc2099bc3a19.tar.gz |
fixes #830, #880: bring back iOS functional tests
Diffstat (limited to 'scripts/ios_travis/upload_screenshots.sh')
-rwxr-xr-x | scripts/ios_travis/upload_screenshots.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/ios_travis/upload_screenshots.sh b/scripts/ios_travis/upload_screenshots.sh new file mode 100755 index 0000000000..88a6427f75 --- /dev/null +++ b/scripts/ios_travis/upload_screenshots.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -e +set -o pipefail +set -u + +ls $KIF_SCREENSHOTS/ + +REPO_NAME=$(basename $TRAVIS_REPO_SLUG) + +aws s3 cp $KIF_SCREENSHOTS/ s3://mapbox/$REPO_NAME/ios/tests/$TRAVIS_JOB_NUMBER/ --acl public-read --recursive > /dev/null + +echo http://mapbox.s3.amazonaws.com/$REPO_NAME/ios/tests/$TRAVIS_JOB_NUMBER/index.html |