<commit_before>---
checkout:
  post:
    - git submodule sync
    - git submodule update --init --recursive
machine:
  ruby:
    version: '2.4.1'
  node:
    version: '7.10.0'
dependencies:
  pre:
  - |-
    mkdir -p ~/bin/zotero
    #if [ ! -x ~/bin/zotero/zotero ]; then
      ZOTERO_INSTALL=y ZOTERO_INSTALL_DEST=l ZOTERO_INSTALL_VERSION=auto ZOTERO_INSTALL_NUKE_DEST=y ./zotero5_installer.sh
    #fi;
  cache_directories:
  - citeproc-js
test:
  override:
  - ? |-
      case $CIRCLE_NODE_INDEX in
        0|1)  export JURISM=false
              ;;
        *)    export JURISM=true
              ;;
      esac
      case $CIRCLE_NODE_INDEX in
        0|2)  export CIRCLE_TESTS="--tag ~@noci --tag @test-cluster-1"
              ;;
        *)    export CIRCLE_TESTS="--tag ~@noci --tag ~@test-cluster-1"
              ;;
      esac

      export LOGS=$CIRCLE_ARTIFACTS
      bundle exec cucumber $CIRCLE_TESTS
    : parallel: true
general:
  artifacts:
    - zotero-better-bibtex.xpi
  branches:
    ignore:
      - gh-pages
deployment:
  all:<commit_msg>circle.yml<commit_after>---
checkout:
  post:
    - git submodule sync
    - git submodule update --init --recursive
machine:
  ruby:
    version: '2.4.1'
  node:
    version: '7.10.0'
dependencies:
  pre:
  - |-
    mkdir -p ~/bin/zotero
    #if [ ! -x ~/bin/zotero/zotero ]; then
      ZOTERO_INSTALL=y ZOTERO_INSTALL_DEST=l ZOTERO_INSTALL_VERSION=auto ZOTERO_INSTALL_NUKE_DEST=y ./zotero5_installer.sh
    #fi;
  cache_directories:
  - citeproc-js
test:
  override:
  - ? |-
      case $CIRCLE_NODE_INDEX in
        0|1)  export JURISM=false
              ;;
        *)    export JURISM=true
              ;;
      esac
      case $CIRCLE_NODE_INDEX in
        0|2)  export CIRCLE_TESTS="--tag ~@noci --tag @test-cluster-1"
              ;;
        *)    export CIRCLE_TESTS="--tag ~@noci --tag ~@test-cluster-1"
              ;;
      esac

      export LOGS=$CIRCLE_ARTIFACTS
      bundle exec cucumber $CIRCLE_TESTS
      cp ~/.BBTZ5TEST.log $CIRCLE_ARTIFACTS/zotero.log
      cp xpi/zotero-better-bibtex-*.xpi $CIRCLE_ARTIFACTS
    : parallel: true
general:
  artifacts:
    - zotero-better-bibtex.xpi
  branches:
    ignore:
      - gh-pages
deployment:
  all:
{'fraction_non_alphanumeric': 0.11994609164420485, 'fraction_numerical': 0.01302785265049416, 'mean_word_length': 2.034059945504087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1002701', 'n_tokens_mistral': 904, 'n_tokens_neox': 853, 'n_words': 159}