Skip to content

Instantly share code, notes, and snippets.

@alexfinnarn
Last active May 6, 2018 15:26
Show Gist options
  • Save alexfinnarn/0ae7825599ff529616e5b4d25a6861e3 to your computer and use it in GitHub Desktop.
Save alexfinnarn/0ae7825599ff529616e5b4d25a6861e3 to your computer and use it in GitHub Desktop.
Showing how much better Gists look than Medium code blocks.
# Run JS tests if merging PR into dev or has JS in it.
if [ "${TRAVIS_EVENT_TYPE}" == "push" ] || [ "${EXPRESS_COMMIT_HAS_JS}" ]; then
echo "Running Express JS tests..."
${ROOT_DIR}/drupal/profiles/express/tests/behat/bin/behat --stop-on-failure --strict --config ${ROOT_DIR}/drupal/profiles/express/tests/behat/behat.travis.yml --verbose --tags ${EXPRESS_JS_BEHAT_TAGS}
earlyexit
else
echo "Not Running Express JS tests..."
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment