<commit_before>language: python
sudo: false
# blacklist
branches:
  except:
    - appveyor
    - docs
cache:
  directories:
    - ~/.cache/pip
env:
  global:
    - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
    - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
    - OLDER_PACKAGES=false
addons:
  apt:
    packages:
      # copied those from scipy
      - libatlas-dev
      - libatlas-base-dev
      - liblapack-dev
      - gfortran
      # copied those from rasterio
      - libgdal1h
      - gdal-bin
      - libgdal-dev
matrix:
  include:
    - python: 2.7
    - python: 3.4
    - python: 3.4
      env: OLDER_PACKAGES=true
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - pip install -U pip
  - pip install wheel
install:
  - |
    if [[ $OLDER_PACKAGES == true ]]; then
      travis_wait pip wheel -r ci/requirements_old.txt
      travis_wait pip install -r ci/requirements_old.txt
    else
      travis_wait pip wheel -r ci/requirements.txt<commit_msg>travis builds less strict: py2.7 is now allowed to fail<commit_after>language: python
sudo: false
# blacklist
branches:
  except:
    - appveyor
    - docs
cache:
  directories:
    - ~/.cache/pip
env:
  global:
    - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
    - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
    - OLDER_PACKAGES=false
addons:
  apt:
    packages:
      # copied those from scipy
      - libatlas-dev
      - libatlas-base-dev
      - liblapack-dev
      - gfortran
      # copied those from rasterio
      - libgdal1h
      - gdal-bin
      - libgdal-dev
matrix:
  include:
    - python: 3.4
  allow_failures:
    - python: 2.7
    - python: 3.4
      env: OLDER_PACKAGES=true
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - pip install -U pip
  - pip install wheel
install:
  - |
    if [[ $OLDER_PACKAGES == true ]]; then
      travis_wait pip wheel -r ci/requirements_old.txt
      travis_wait pip install -r ci/requirements_old.txt
    else
      travis_wait pip wheel -r ci/requirements.txt
{'fraction_non_alphanumeric': 0.10679133858267717, 'fraction_numerical': 0.010826771653543307, 'mean_word_length': 2.1865203761755487, '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': '5339800', 'n_tokens_mistral': 786, 'n_tokens_neox': 764, 'n_words': 169}