diff options
author | Bobby Sudekum <bobby@mapbox.com> | 2017-05-31 08:36:23 -0700 |
---|---|---|
committer | Bobby Sudekum <bobby@mapbox.com> | 2017-06-01 08:41:23 -0700 |
commit | bed240e3d2c8f64afd616345f823a96de3b6a1b2 (patch) | |
tree | a20ff24134ff03dc3baaf4df4366feaae3af9696 | |
parent | 9068c90fc4b1b8b4938d89028fc3f7b46beeac29 (diff) | |
download | qtlocation-mapboxgl-bed240e3d2c8f64afd616345f823a96de3b6a1b2.tar.gz |
Make node release binaries debuggable
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | platform/node/bitrise.yml | 2 | ||||
-rwxr-xr-x | platform/node/scripts/after_success.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 0fd3bbcc77..7a31dcbc3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,7 +91,7 @@ matrix: dist: trusty language: node compiler: "egl-node4-clang39-release" - env: BUILDTYPE=Release _CXX=clang++-3.9 _CC=clang-3.9 WITH_EGL=1 + env: BUILDTYPE=RelWithDebInfo _CXX=clang++-3.9 _CC=clang-3.9 WITH_EGL=1 addons: *clang39 before_script: # fglrx causes the GLX extension to be unavailable @@ -147,7 +147,7 @@ matrix: dist: trusty language: node compiler: "egl-node6-clang39-release" - env: BUILDTYPE=Release _CXX=clang++-3.9 _CC=clang-3.9 WITH_EGL=1 + env: BUILDTYPE=RelWithDebInfo _CXX=clang++-3.9 _CC=clang-3.9 WITH_EGL=1 addons: *clang39 before_script: # fglrx causes the GLX extension to be unavailable diff --git a/platform/node/bitrise.yml b/platform/node/bitrise.yml index 00005f0f36..fab3093d6e 100644 --- a/platform/node/bitrise.yml +++ b/platform/node/bitrise.yml @@ -64,7 +64,7 @@ workflows: brew install cmake awscli node@4 node@6 brew link node@4 --force gem install xcpretty --no-rdoc --no-ri - export BUILDTYPE=Release + export BUILDTYPE=RelWithDebInfo export PUBLISH=true make test-node && ./platform/node/scripts/after_success.sh brew unlink node@4 diff --git a/platform/node/scripts/after_success.sh b/platform/node/scripts/after_success.sh index ae34446927..ead819dea2 100755 --- a/platform/node/scripts/after_success.sh +++ b/platform/node/scripts/after_success.sh @@ -4,7 +4,7 @@ set -e set -o pipefail if [[ -n ${PUBLISH:-} ]]; then - if [[ "${BUILDTYPE}" == "Release" ]]; then + if [[ "${BUILDTYPE}" == "RelWithDebInfo" ]]; then ./node_modules/.bin/node-pre-gyp package publish info else ./node_modules/.bin/node-pre-gyp package publish info --debug |