<commit_before>dist: trusty
sudo: required
language: java
jdk:
  - openjdk8
  - openjdk11

# TODO split tests into mongo related & non mongo related. Run the former once.
env:
  - MONGODB_VER=mongodb-linux-x86_64-2.6.12 MINIO=2019-05-23T00-29-34Z ANT_TEST=test_quick_coverage WIRED_TIGER=false
  - MONGODB_VER=mongodb-linux-x86_64-3.6.10 MINIO=2019-05-23T00-29-34Z ANT_TEST=test_quick_coverage WIRED_TIGER=false
  - MONGODB_VER=mongodb-linux-x86_64-3.6.10 MINIO=2019-05-23T00-29-34Z ANT_TEST=test_quick_coverage WIRED_TIGER=true

before_install:
  - sudo add-apt-repository -y ppa:deadsnakes/ppa
  - sudo apt update
  - sudo apt install -y ant-optional
  - sudo apt install -y python3.6 python3-pip
  - pyenv local 3.6
  - python --version
  - pip3 --version
  - pip3 install sphinx
  - pip3 install jsonrpcbase==0.2.0
  - pip3 install configparser==4.0.2
  - pip3 install pymongo==3.9.0
  - pip3 install cachetools==3.1.1
  - pip3 install uwsgi==2.0.18

install:
  - export HOMEDIR=`pwd`
  - cd ..
  - git clone https://github.com/kbase/jars
  - export JARSDIR=`pwd`/jars/lib/jars/

  - export HS_COMMIT=aae2f70120e75d2ccccab1b1c01dbb9e8327eee8
  - export LOG_COMMIT=b549c557e3c519e0a55eadf7863a93db25cd6806
  - git clone https://github.com/kbase/handle_service2.git
  - cd handle_service2/
  - git checkout $HS_COMMIT
  - sudo chmod -R 777 .
  - cd lib/<commit_msg>Make apt a little more quiet without using -qq as before<commit_after>dist: trusty
sudo: required
language: java
jdk:
  - openjdk8
  - openjdk11

# TODO split tests into mongo related & non mongo related. Run the former once.
env:
  - MONGODB_VER=mongodb-linux-x86_64-2.6.12 MINIO=2019-05-23T00-29-34Z ANT_TEST=test_quick_coverage WIRED_TIGER=false
  - MONGODB_VER=mongodb-linux-x86_64-3.6.10 MINIO=2019-05-23T00-29-34Z ANT_TEST=test_quick_coverage WIRED_TIGER=false
  - MONGODB_VER=mongodb-linux-x86_64-3.6.10 MINIO=2019-05-23T00-29-34Z ANT_TEST=test_quick_coverage WIRED_TIGER=true

before_install:
  - sudo add-apt-repository -y ppa:deadsnakes/ppa
  - sudo apt update -q
  - sudo apt install -y ant-optional
  - sudo apt install -y python3.6 python3-pip
  - pyenv local 3.6
  - python --version
  - pip3 --version
  - pip3 install sphinx
  - pip3 install jsonrpcbase==0.2.0
  - pip3 install configparser==4.0.2
  - pip3 install pymongo==3.9.0
  - pip3 install cachetools==3.1.1
  - pip3 install uwsgi==2.0.18

install:
  - export HOMEDIR=`pwd`
  - cd ..
  - git clone https://github.com/kbase/jars
  - export JARSDIR=`pwd`/jars/lib/jars/

  - export HS_COMMIT=aae2f70120e75d2ccccab1b1c01dbb9e8327eee8
  - export LOG_COMMIT=b549c557e3c519e0a55eadf7863a93db25cd6806
  - git clone https://github.com/kbase/handle_service2.git
  - cd handle_service2/
  - git checkout $HS_COMMIT
  - sudo chmod -R 777 .
  - cd lib/
{'fraction_non_alphanumeric': 0.1079136690647482, 'fraction_numerical': 0.10503597122302158, 'mean_word_length': 3.485483870967742, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6662134', 'n_tokens_mistral': 1330, 'n_tokens_neox': 1175, 'n_words': 222}