<commit_before>image: stormenroute/storm-enroute-build:0.15

before_script:
  - |
    eval `ssh-agent -s`
    echo "exec cat" > ap-cat.sh
    chmod a+x ap-cat.sh
    export DISPLAY=1
    echo "$SSH_KEY_PASS" | SSH_ASKPASS=./ap-cat.sh ssh-add ~/.ssh/id_rsa
    rm ap-cat.sh
    export SSH_KEY_PASS=""
    export DISPLAY=""
  - |
    mkdir -p ~/.sbt/0.13/
    echo 'scalacOptions ++= Seq("-Xmax-classfile-name", "90")' > ~/.sbt/0.13/local.sbt
  - git clone <EMAIL>:storm-enroute/super-storm-enroute.git ~/.super-storm-enroute

after_script:
  - rm -rf ~/.super-storm-enroute


gate-ubuntu:
  tags:
    - ubuntu
    - gate
  script:
    - ~/.super-storm-enroute/tools/ci reactors $(pwd)


gate-standalone-ubuntu:
  tags:
    - ubuntu
    - gate
  script:
    - sbt test


gate-osx:
  tags:
    - osx
    - gate
  script:
    - ~/.super-storm-enroute/tools/ci reactors $(pwd)
  cache:
    paths:
      - /root/.ivy2/
      - /root/.sbt/


bench-ubuntu:
  tags:
    - ubuntu
    - bench
  script:
    - ~/.super-storm-enroute/tools/ci --bench=True . $(pwd)
  cache:
    paths:
      - /root/.ivy2/
      - /root/.sbt/<commit_msg>Enable 2.12 gate build.<commit_after>image: stormenroute/storm-enroute-build:0.15

before_script:
  - |
    eval `ssh-agent -s`
    echo "exec cat" > ap-cat.sh
    chmod a+x ap-cat.sh
    export DISPLAY=1
    echo "$SSH_KEY_PASS" | SSH_ASKPASS=./ap-cat.sh ssh-add ~/.ssh/id_rsa
    rm ap-cat.sh
    export SSH_KEY_PASS=""
    export DISPLAY=""
  - |
    mkdir -p ~/.sbt/0.13/
    echo 'scalacOptions ++= Seq("-Xmax-classfile-name", "90")' > ~/.sbt/0.13/local.sbt
  - git clone <EMAIL>:storm-enroute/super-storm-enroute.git ~/.super-storm-enroute

after_script:
  - rm -rf ~/.super-storm-enroute


gate-ubuntu:
  tags:
    - ubuntu
    - gate
  script:
    - ~/.super-storm-enroute/tools/ci reactors $(pwd)


gate-standalone-ubuntu:
  tags:
    - ubuntu
    - gate
  script:
    - sbt test
    - sbt ++ 2.12.0 test


gate-osx:
  tags:
    - osx
    - gate
  script:
    - ~/.super-storm-enroute/tools/ci reactors $(pwd)
  cache:
    paths:
      - /root/.ivy2/
      - /root/.sbt/


bench-ubuntu:
  tags:
    - ubuntu
    - bench
  script:
    - ~/.super-storm-enroute/tools/ci --bench=True . $(pwd)
  cache:
    paths:
      - /root/.ivy2/
      - /root/.sbt/
{'fraction_non_alphanumeric': 0.1677617170389838, 'fraction_numerical': 0.015330705212439772, 'mean_word_length': 1.9662337662337663, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4841841', 'n_tokens_mistral': 990, 'n_tokens_neox': 931, 'n_words': 167}