message: Skip API and e2e tests on NodeJS versions <10
diff: @@ -25,8 +25,8 @@ before_script:
  - sleep 3
  script:
  - npm test
  -- npm run frisby
  -- NODE_ENV=ctf npm run protractor
  +- 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
  after_success:
  - "./node_modules/.bin/lcov-result-merger 'build/reports/coverage/**/lcov.info' 'build/reports/coverage/lcov_merged.info'"
  - "./node_modules/.bin/codeclimate-test-reporter < ./build/reports/coverage/lcov_merged.info"
  