<commit_before>matrix:
  include:
  # - python: '2.7'
  #   sudo: required
  #   services:
  #   - docker
  #   env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
  #        DOCKER_DEPLOY=true
  # - python: '2.7'
  #   sudo: required
  #   services:
  #   - docker
  #   env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
  #        PRE_CMD=linux32
  #        DOCKER_DEPLOY=true
  - python: '2.7'
    sudo: false
    env: DOCKER_DEPLOY=false
         TRAVIS_PYTHON_VERSION=2.7'
  - python: '3.5'
    sudo: false
    env: DOCKER_DEPLOY=false
         TRAVIS_PYTHON_VERSION=3.5'
  - python: '3.6'
    sudo: false
    env: DOCKER_DEPLOY=false
         TRAVIS_PYTHON_VERSION=3.6'

before_install:
- if [[ "$DOCKER_DEPLOY" == "false" ]]; then
    bash travis/before_install.sh;
    export PATH="$HOME/miniconda/bin:$PATH";
  else
    docker pull $DOCKER_IMAGE;
    docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh;
  fi

install:
- if [[ "$DOCKER_DEPLOY" == "false" ]]; then
    bash travis/install.sh;
  fi

script:
- if [[ "$DOCKER_DEPLOY" == "true" ]]; then
    ls wheelhouse/;
  else
    bash travis/script.sh;
  fi

before_deploy:
- cd python

deploy:
# testing pypi
- provider: pypi
  server: https://test.pypi.org/legacy/
  skip_cleanup: true
  distributions: sdist<commit_msg>.travis.yml test<commit_after>matrix:
  include:
  - python: '2.7'
    sudo: required
    services:
    - docker
    env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
         DOCKER_DEPLOY=true
  # - python: '2.7'
  #   sudo: required
  #   services:
  #   - docker
  #   env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
  #        PRE_CMD=linux32
  #        DOCKER_DEPLOY=true
  # - python: '2.7'
  #   sudo: false
  #   env: DOCKER_DEPLOY=false
  #        TRAVIS_PYTHON_VERSION=2.7'
  # - python: '3.5'
  #   sudo: false
  #   env: DOCKER_DEPLOY=false
  #        TRAVIS_PYTHON_VERSION=3.5'
  # - python: '3.6'
  #   sudo: false
  #   env: DOCKER_DEPLOY=false
  #        TRAVIS_PYTHON_VERSION=3.6'

before_install:
- if [[ "$DOCKER_DEPLOY" == "false" ]]; then
    bash travis/before_install.sh;
    export PATH="$HOME/miniconda/bin:$PATH";
  else
    cd python
    docker pull $DOCKER_IMAGE;
    docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh;
    cd ..
  fi

install:
- if [[ "$DOCKER_DEPLOY" == "false" ]]; then
    bash travis/install.sh;
  fi

script:
- if [[ "$DOCKER_DEPLOY" == "true" ]]; then
    ls wheelhouse/;
  else
    bash travis/script.sh;
  fi

before_deploy:
- cd python

deploy:
# testing pypi
- provider: pypi
  server: https://test.pypi.org/legacy/
  skip_cleanup: true
  distributions: sdist
{'fraction_non_alphanumeric': 0.13610586011342155, 'fraction_numerical': 0.020415879017013232, 'mean_word_length': 2.6346153846153846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1586193', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1117, 'n_words': 197}