[node] Build OS X on Bitrise
This commit is contained in:
@@ -13,19 +13,14 @@ BUILDTYPE=${BUILDTYPE:-Release}
|
||||
|
||||
source ~/.nvm/nvm.sh
|
||||
nvm use $NODE_VERSION
|
||||
|
||||
mapbox_time "compile_program" \
|
||||
npm install --build-from-source
|
||||
|
||||
################################################################################
|
||||
# Test
|
||||
################################################################################
|
||||
|
||||
# Travis OS X has no GPU
|
||||
# https://github.com/mapbox/mapbox-gl-native/issues/2150
|
||||
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
||||
mapbox_time "run_tests" \
|
||||
npm test
|
||||
|
||||
mapbox_time "run_render_tests" \
|
||||
npm run test-suite
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user