summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-02-08 13:06:16 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-02-09 10:56:01 -0600
commit9df24addfbfd922baada7d9778f402b91e69ed33 (patch)
tree09fd7e0a7ef200e4ce9046d0aca9918c0caa46c2 /scripts
parent13e504155330fe0c0e6963a10c7f4e99d3d1696a (diff)
downloadqtlocation-mapboxgl-9df24addfbfd922baada7d9778f402b91e69ed33.tar.gz
[node] Run test with logbt
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_setup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/travis_setup.sh b/scripts/travis_setup.sh
index 20688ab4ec..28af6f30aa 100755
--- a/scripts/travis_setup.sh
+++ b/scripts/travis_setup.sh
@@ -33,6 +33,14 @@ fi
mapbox_time "touch_package_json" \
touch package.json
+function mapbox_install_logbt {
+ scripts/mason.sh INSTALL gdb VERSION 7.12
+ export PATH=$(scripts/mason.sh PREFIX gdb VERSION 7.12)/bin:${PATH}
+ curl -sSfL https://github.com/mapbox/logbt/archive/v2.0.0.tar.gz | tar --gunzip --extract --strip-components=2 --exclude="*md" --exclude="test*" --directory=.
+ sudo ./logbt --setup
+ ./logbt --test
+}
+
function mapbox_start_xvfb {
if [ ! -f /etc/init.d/xvfb ]; then
echo "Error: Could not start Xvfb mock server."