summaryrefslogtreecommitdiff
path: root/platform/node/bitrise.yml
diff options
context:
space:
mode:
Diffstat (limited to 'platform/node/bitrise.yml')
-rw-r--r--platform/node/bitrise.yml21
1 files changed, 8 insertions, 13 deletions
diff --git a/platform/node/bitrise.yml b/platform/node/bitrise.yml
index 9b9b4ca064..0b09192ee3 100644
--- a/platform/node/bitrise.yml
+++ b/platform/node/bitrise.yml
@@ -22,25 +22,20 @@ workflows:
else
envman add --key SKIPCI --value false
fi
- - select-xcode-version:
- title: Select Xcode version
- run_if: '{{enveq "SKIPCI" "false"}}'
- script:
title: Run build script
run_if: '{{enveq "SKIPCI" "false"}}'
inputs:
- content: |-
#!/bin/bash
- export TRAVIS_OS_NAME=osx
- export TRAVIS_TAG=$BITRISE_GIT_TAG
- export TRAVIS_JOB_NUMBER=$BITRISE_BUILD_NUMBER
- export NODE_VERSION=4
- export CXX=clang++
- export CC=clang
- source ./scripts/set_compiler.sh
- ./platform/node/scripts/install.sh
- ./platform/node/scripts/run.sh
- ./platform/node/scripts/after_script.sh
+ set -eu -o pipefail
+ brew unlink node
+ brew install awscli homebrew/versions/node4-lts
+ brew link homebrew/versions/node4-lts
+ make node
+ make test-node || result=$?
+ ./platform/node/scripts/after_script.sh ${BITRISE_BUILD_NUMBER} ${BITRISE_GIT_TAG:-}
+ exit ${result:-0}
- slack:
title: Post to Slack
run_if: '{{enveq "SKIPCI" "false"}}'