<commit_before>dist: xenial
language: python
python:
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"

addons:
  apt_packages:
    - gfortran

notifications:
  email: false

install:
  - sudo apt-get update
  - sudo apt-get install cmake libboost-python-dev
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pytorch cpuonly -c pytorch
  - source activate test-environment
  - travis_retry pip install --upgrade pip setuptools wheel
  - travis_retry pip install -r requirements.txt
  - pip install dlib
  - python setup.py install
  - pip install --upgrade pytest

# Upload the new version to conda, if successful <commit_msg>Remove dlib from travis build<commit_after>dist: xenial
language: python
python:
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"

addons:
  apt_packages:
    - gfortran

notifications:
  email: false

install:
  - sudo apt-get update
  - sudo apt-get install cmake libboost-python-dev
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pytorch cpuonly -c pytorch
  - source activate test-environment
  - travis_retry pip install --upgrade pip setuptools wheel
  - travis_retry pip install -r requirements.txt
  - python setup.py install
  - pip install --upgrade pytest

# Upload the new version to conda, if successful 
{'fraction_non_alphanumeric': 0.10066428206438426, 'fraction_numerical': 0.01430761369443025, 'mean_word_length': 2.9959183673469387, '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': '2580534', 'n_tokens_mistral': 723, 'n_tokens_neox': 702, 'n_words': 205}