message: Pass out exit code from Frisby & Protractor
diff: @@ -18,8 +18,8 @@ before_install:
  - rm -rf frontend/node_modules
  script:
  - npm test
  -- node_version=$(node -v); if [ ${node_version:1:2} = 10 ]; then npm run frisby; else echo "Skipping Frisby API tests on $node_version"; fi
  -- node_version=$(node -v); if [ ${node_version:1:2} = 10 ]; then NODE_ENV=ctf npm run protractor; else echo "Skipping Protractor e2e tests on $node_version"; fi
  +- node_version=$(node -v); if [ ${node_version:1:2} = 10 ]; then npm run frisby; rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi else echo "Skipping Frisby API tests on $node_version"; fi
  +- node_version=$(node -v); if [ ${node_version:1:2} = 10 ]; then NODE_ENV=ctf npm run protractor; rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi else echo "Skipping Protractor e2e tests on $node_version"; fi
  after_success:
  - "./node_modules/.bin/lcov-result-merger 'build/reports/coverage/**/lcov.info' 'build/reports/coverage/lcov_merged.info'"
  - node_version=$(node -v); if [ ${node_version:1:2} = 10 ]; then ./node_modules/.bin/codeclimate-test-reporter < ./build/reports/coverage/lcov_merged.info; else echo "Skipping Codeclimate analysis on $node_version"; fi
  