[build] Added CircleCI macos-release-node{4,6} jobs

This commit is contained in:
Bruno de Oliveira Abinader
2017-11-23 12:19:55 +02:00
parent 405d141b9e
commit aa5a2b2c87
3 changed files with 81 additions and 83 deletions

View File

@@ -1,14 +0,0 @@
#!/bin/bash
set -e
set -o pipefail
JOB=$1
if [ ! -z "${AWS_ACCESS_KEY_ID}" ] && [ ! -z "${AWS_SECRET_ACCESS_KEY}" ] ; then
gzip --stdout mapbox-gl-js/test/integration/render-tests/index.html | \
aws s3 cp --acl public-read --content-encoding gzip --content-type text/html \
- s3://mapbox/mapbox-gl-native/render-tests/$JOB/index.html
echo http://mapbox.s3.amazonaws.com/mapbox-gl-native/render-tests/$JOB/index.html
fi