diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-08-25 15:43:41 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-08-25 15:43:54 -0700 |
commit | 8f6a480344d9a6b56f6ea61626c7f182b9257ec5 (patch) | |
tree | 6241875f2b7998c4b2492f6eebdab2f58043980f /setup-libraries.sh | |
parent | 3d9a2932584b1230c8be47e6935f794cede8fe85 (diff) | |
download | qtlocation-mapboxgl-8f6a480344d9a6b56f6ea61626c7f182b9257ec5.tar.gz |
Don't try to upload build artifacts for PRs
Diffstat (limited to 'setup-libraries.sh')
-rwxr-xr-x | setup-libraries.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-libraries.sh b/setup-libraries.sh index 9c83595a37..bccef226ef 100755 --- a/setup-libraries.sh +++ b/setup-libraries.sh @@ -112,7 +112,7 @@ source MacOSX.sh ./scripts/make_universal.sh -if [ ! -z "${TRAVIS:-}" ]; then +if [[ $TRAVIS_PULL_REQUEST = "false" ]]; then tar -zcf out/build-cpp11-libcpp-universal_${MP_HASH}.tar.gz out/build-cpp11-libcpp-universal aws s3 cp out/build-cpp11-libcpp-universal_${MP_HASH}.tar.gz s3://mapbox-gl-testing/dependencies/ fi @@ -143,7 +143,7 @@ source Linux.sh if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64-linux/lib/libcurl.a ] ; then ./scripts/build_curl.sh ; fi if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64-linux/lib/libboost_regex.a ] ; then ./scripts/build_boost.sh --with-regex ; fi -if [ ! -z "${TRAVIS:-}" ]; then +if [[ $TRAVIS_PULL_REQUEST = "false" ]]; then if ! tar --compare -zf out/build-cpp11-libstdcpp-gcc-x86_64-linux.tar.gz ; then tar -zcf out/build-cpp11-libstdcpp-gcc-x86_64-linux.tar.gz out/build-cpp11-libstdcpp-gcc-x86_64-linux aws s3 cp out/build-cpp11-libstdcpp-gcc-x86_64-linux.tar.gz s3://mapbox-gl-testing/dependencies/ |