Files
MapLibreParticleLab/platform/node/scripts/after_script.sh
Mike Morris f50de16260 [node] publish Node.js Linux binaries with GLX
run test suite with OSMesa in Debug
2016-11-15 13:31:48 -05:00

15 lines
455 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
JOB=$1
if [ ! -z "${AWS_ACCESS_KEY_ID}" ] && [ ! -z "${AWS_SECRET_ACCESS_KEY}" ] ; then
gzip --stdout node_modules/mapbox-gl-test-suite/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