<commit_before>sudo: required
dist: trusty
language: generic

services:
  - docker

install:
  # Setup tools.
  - sudo ./tools/setup_tools.sh
  # Build images.
  - ./server/build.sh
  - ./client/build.sh

script:
  # Test server.
  - ./server/test.sh
  - ./server/run.sh
  # Test client.
  - ./client/test.sh
  # Verify that docs build.
  - ./tools/build_docs.sh
  # Check formatting.
  - ./tools/format.sh --all

after_success:
  # Push to Dockerhub.
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
    docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
    docker push auvsisuas/interop-server;
    docker push auvsisuas/interop-client;
    fi<commit_msg>Add sleep to decrease flakiness.<commit_after>sudo: required
dist: trusty
language: generic

services:
  - docker

install:
  # Setup tools.
  - sudo ./tools/setup_tools.sh
  # Build images.
  - ./server/build.sh
  - ./client/build.sh

script:
  # Test server.
  - ./server/test.sh
  - ./server/run.sh && sleep 30
  # Test client.
  - ./client/test.sh
  # Verify that docs build.
  - ./tools/build_docs.sh
  # Check formatting.
  - ./tools/format.sh --all

after_success:
  # Push to Dockerhub.
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
    docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
    docker push auvsisuas/interop-server;
    docker push auvsisuas/interop-client;
    fi
{'fraction_non_alphanumeric': 0.1457286432160804, 'fraction_numerical': 0.0014357501794687725, 'mean_word_length': 2.678100263852243, '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': '284172', 'n_tokens_mistral': 540, 'n_tokens_neox': 519, 'n_words': 113}