diff options
author | Dane Springmeyer <springmeyer@users.noreply.github.com> | 2017-05-04 16:43:54 -0700 |
---|---|---|
committer | Bobby Sudekum <bobby@mapbox.com> | 2017-05-04 16:43:54 -0700 |
commit | bf959b9d866b20b5563bd748313a10f9804b03c1 (patch) | |
tree | 6dc5744458aebbe8d0038e19817bd0c1490cb874 /.travis.yml | |
parent | 6868b2557d5b16cbd6ac1765f249cab9a697b1bd (diff) | |
download | qtlocation-mapboxgl-bf959b9d866b20b5563bd748313a10f9804b03c1.tar.gz |
[node] start publishing both release+debug builds (#8865)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 4895301b38..5c9d29f3b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,6 +119,8 @@ matrix: env: BUILDTYPE=Debug _CXX=clang++-3.9 _CC=clang-3.9 WITH_EGL=1 addons: *clang39 before_script: + - export PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)") + - export PUBLISH=$([[ "${TRAVIS_TAG:-}" == "node-v${PACKAGE_JSON_VERSION}" ]] && echo true) - mapbox_install_logbt - mapbox_start_xvfb - mapbox_export_mesa_library_path @@ -130,6 +132,8 @@ matrix: after_script: - ccache --show-stats - ./platform/node/scripts/after_script.sh ${TRAVIS_JOB_NUMBER} + after_success: + - ./platform/node/scripts/after_success.sh after_failure: - aws s3 cp . s3://mapbox/mapbox-gl-native/render-tests/$TRAVIS_JOB_NUMBER --recursive --exclude "*" --include "*.trace" |