[node] Build OS X on Bitrise

This commit is contained in:
John Firebaugh
2016-01-20 14:03:45 -08:00
parent 79069d13b4
commit 47ebf0fd59
4 changed files with 66 additions and 12 deletions

View File

@@ -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