#!/usr/bin/env bash set -e set -o pipefail source ./scripts/${TRAVIS_OS_NAME}/setup.sh BUILDTYPE=${BUILDTYPE:-Release} ################################################################################ # Build ################################################################################ mapbox_time "checkout_styles" \ git submodule update --init styles mapbox_time "compile_program" \ cd platform/node && npm install --build-from-source ################################################################################ # Test ################################################################################ mapbox_time "checkout_test_suite" \ git submodule update --init test/suite mapbox_time "run_tests" \ cd platform/node && npm test mapbox_time "run_render_tests" \ cd platform/node && npm run test-suite