<commit_before>general:
  branches:
    ignore:
      - gh-pages

machine:
  java:
    version: oraclejdk8
  python:
    version: 2.7.3

  services:

dependencies:
  pre:
  cache_directories:
  override:
    - chmod +x gradlew
    - ./gradlew --console=plain build --stacktrace --info
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

    - mkdir -p $CIRCLE_TEST_REPORTS/junit-html/
    - find . -type d -regex ".**/build/reports/tests" -exec sh -c 'cp -a {} $CIRCLE_TEST_REPORTS/junit-html/`echo {} | cut -d / -f2`' \;

    - mkdir -p $CIRCLE_ARTIFACTS/build-artifacts
    - cp -a server/coderadar-webapp/build/libs/coderadar-webapp-*.jar $CIRCLE_ARTIFACTS/build-artifacts/
<commit_msg>moved gradle execution into circleCI's test phase<commit_after>general:
  branches:
    ignore:
      - gh-pages

machine:
  java:
    version: oraclejdk8
  python:
    version: 2.7.3
  services:

test:
  override:
    - chmod +x gradlew
    - ./gradlew --console=plain build --stacktrace --info
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

    - mkdir -p $CIRCLE_TEST_REPORTS/junit-html/
    - find . -type d -regex ".**/build/reports/tests" -exec sh -c 'cp -a {} $CIRCLE_TEST_REPORTS/junit-html/`echo {} | cut -d / -f2`' \;

    - mkdir -p $CIRCLE_ARTIFACTS/build-artifacts
    - cp -a server/coderadar-webapp/build/libs/coderadar-webapp-*.jar $CIRCLE_ARTIFACTS/build-artifacts/
{'fraction_non_alphanumeric': 0.15019011406844107, 'fraction_numerical': 0.0063371356147021544, 'mean_word_length': 2.580498866213152, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2033163', 'n_tokens_mistral': 646, 'n_tokens_neox': 624, 'n_words': 124}