<commit_before>sudo: required
language: python
python: 3.5

services:
- docker

install:
- pip install -r requirements.txt
- python setup.py build_ext --inplace

script:
- mkdir -p ~/.config/jd4 && cp examples/config.yaml ~/.config/jd4/
- python -m unittest -v jd4.case_test jd4.compare_test
- docker build -t vijos/jd4 .
- docker run --privileged
      -v $(readlink -f examples/config.yaml):/root/.config/jd4/config.yaml
      vijos/jd4 /bin/bash -c "source /venv/bin/activate &&
                              python3 -m unittest -v jd4.integration_test"<commit_msg>also need langs.yaml...<commit_after>sudo: required
language: python
python: 3.5

services:
- docker

install:
- pip install -r requirements.txt
- python setup.py build_ext --inplace

script:
- mkdir -p ~/.config/jd4 &&
      cp examples/config.yaml examples/langs.yaml ~/.config/jd4/
- python -m unittest -v jd4.case_test jd4.compare_test
- docker build -t vijos/jd4 .
- docker run --privileged
      -v $(readlink -f examples/config.yaml):/root/.config/jd4/config.yaml
      vijos/jd4 /bin/bash -c "source /venv/bin/activate &&
                              python3 -m unittest -v jd4.integration_test"
{'fraction_non_alphanumeric': 0.1296928327645051, 'fraction_numerical': 0.01877133105802048, 'mean_word_length': 2.5545454545454547, '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': '5056953', 'n_tokens_mistral': 421, 'n_tokens_neox': 406, 'n_words': 104}