Move platform scripts into platforms

This commit is contained in:
John Firebaugh
2015-12-16 14:05:23 -08:00
parent a903d2eef0
commit 7a4e7376e1
46 changed files with 40 additions and 40 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -e
set -o pipefail
if [ ! -z "${AWS_ACCESS_KEY_ID}" ] && [ ! -z "${AWS_SECRET_ACCESS_KEY}" ] ; then
# Install and add awscli to PATH for uploading the results
pip install --user awscli
export PATH="`python -m site --user-base`/bin:${PATH}"
REPO_NAME=$(basename $TRAVIS_REPO_SLUG)
aws s3 cp --recursive --acl public-read test/fixtures/annotations \
s3://mapbox/$REPO_NAME/render-tests/$TRAVIS_JOB_NUMBER/annotations
fi