<commit_before>dist: trusty
sudo: required

branches:
  only:
    - master

env:
  - VERSION=$TRAVIS_COMMIT

before_script:
  - sudo apt-get update
  - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce

script:
  - make pull build gh-pages 

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
    echo $DOCKER_PASSWORD | docker login -u="$DOCKER_USERNAME" --password-stdin;
    make tag push;
    fi

notifications:
  slack: 
    on_success: change 
    on_failure: always
    rooms:
      secure: <KEY>

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN 
  local_dir: gh-pages 
  on:
    branch: master
<commit_msg>run unit tests before build<commit_after>dist: trusty
sudo: required

branches:
  only:
    - master

env:
  - VERSION=$TRAVIS_COMMIT

before_script:
  - sudo apt-get update
  - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce

script:
  - make test pull build gh-pages

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
    echo $DOCKER_PASSWORD | docker login -u="$DOCKER_USERNAME" --password-stdin;
    make tag push;
    fi

notifications:
  slack: 
    on_success: change 
    on_failure: always
    rooms:
      secure: <KEY>

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN 
  local_dir: gh-pages 
  on:
    branch: master

{'fraction_non_alphanumeric': 0.10834553440702782, 'fraction_numerical': 0.0, 'mean_word_length': 3.080597014925373, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '164728', 'n_tokens_mistral': 523, 'n_tokens_neox': 499, 'n_words': 127}