<commit_before>sudo: enabled

language: python
python:
  - 3.4
  - 3.5
  - 3.6.1

jobs:
  include:
    - python: 2.7
      env: UNSUPPORTED=true PIP_NO_COMPILE=1
      addons: false
      before_install: true
      install: pip install 3to2
      before_script: true
      script: .ci/check_unsupported.sh
      if: branch = master
    - python: 3.3
      env: UNSUPPORTED=true PIP_NO_COMPILE=1
      addons: false
      before_install: true
      install: true
      before_script: true
      script: .ci/check_unsupported.sh
      if: branch = master

dist: trusty

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - avsm  # OPAM stable
      - hvr-ghc  # Haskell
    packages:
      - cabal-install-1.24
      - chktex
      - clang-3.4
      - cppcheck
      - devscripts
      - flawfinder
      - gfortran
      - ghc
      - happy
      - indent
      - libblas-dev
      - liblapack-dev
      - libperl-critic-perl
      - libxml2-utils
      - luarocks<commit_msg>.travis.yml: Skip unsupported on pull requests<commit_after>sudo: enabled

language: python
python:
  - 3.4
  - 3.5
  - 3.6.1

jobs:
  include:
    - python: 2.7
      env: UNSUPPORTED=true PIP_NO_COMPILE=1
      addons: false
      before_install: true
      install: pip install 3to2
      before_script: true
      script: .ci/check_unsupported.sh
      if: branch = master AND type = push
    - python: 3.3
      env: UNSUPPORTED=true PIP_NO_COMPILE=1
      addons: false
      before_install: true
      install: true
      before_script: true
      script: .ci/check_unsupported.sh
      if: branch = master AND type = push

dist: trusty

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - avsm  # OPAM stable
      - hvr-ghc  # Haskell
    packages:
      - cabal-install-1.24
      - chktex
      - clang-3.4
      - cppcheck
      - devscripts
      - flawfinder
      - gfortran
      - ghc
      - happy
      - indent
      - libblas-dev
      - liblapack-dev
      - libperl-critic-perl
      - libxml2-utils
      - luarocks
{'fraction_non_alphanumeric': 0.08655256723716381, 'fraction_numerical': 0.020537897310513448, 'mean_word_length': 1.6780104712041886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3978513', 'n_tokens_mistral': 756, 'n_tokens_neox': 724, 'n_words': 160}