<commit_before>language: cpp
cache: apt
env:
  matrix:
     #- UBUNTU_DIST=xenial
     #  BUILD_TYPE=Release
     # - UBUNTU_DIST=trusty
     #   BUILD_TYPE=Release
     - UBUNTU_DIST=bionic
       BUILD_TYPE=Release
     
services:
  - docker

install: true

script:
  - docker build --build-arg UBUNTU=${UBUNTU_DIST} --build-arg BUILD_TYPE=${BUILD_TYPE} -t occam/occam_${UBUNTU_DIST}_rel -f docker/occam.Dockerfile .

<commit_msg>Trying to set cron to build periodically docker image<commit_after>language: cpp
cache: apt
env:
  matrix:
     #- UBUNTU_DIST=xenial
     #  BUILD_TYPE=Release
     # - UBUNTU_DIST=trusty
     #   BUILD_TYPE=Release
     - UBUNTU_DIST=bionic
       BUILD_TYPE=Release
     
services:
  - docker

install: true

script:
  - docker build --build-arg UBUNTU=${UBUNTU_DIST} --build-arg BUILD_TYPE=${BUILD_TYPE} -t occam/occam_${UBUNTU_DIST}_rel -f docker/occam.Dockerfile .

  - 'if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ;
        then echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
          && docker push occam/occam_${UBUNTU_DIST};
     fi '

{'fraction_non_alphanumeric': 0.11433756805807622, 'fraction_numerical': 0.0, 'mean_word_length': 3.100371747211896, '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': '1714340', 'n_tokens_mistral': 450, 'n_tokens_neox': 416, 'n_words': 77}