<commit_before>language: python
sudo: required

matrix:
  include:
    - python: "3.3"
      env: PY_VER=3.3
      dist: trusty

    - python: "3.4"
      env: PY_VER=3.4
      dist: trusty

    - python: "3.5"
      env: PY_VER=3.5
      dist: trusty

    - python: "3.6"
      env: PY_VER=3.6
      dist: trusty

    - python: "3.7"
      env: PY_VER=3.7
      dist: xenial    # default gcc > 4.8

before_install:
  - sudo apt-get install -y python-software-properties
  - sudo add-apt-repository -y ppa:deadsnakes/ppa
  - sudo apt-get update
  - sudo apt-get install -y python$PY_VER-dev

#install:
#  - pip install -r requirements.txt

script:
  - python$PY_VER pyconcrete-admin.py test<commit_msg>fix travis env<commit_after>language: python
sudo: required

matrix:
  include:
    - python: "3.5"
      env: PY_VER=3.5
      dist: xenial

    - python: "3.6"
      env: PY_VER=3.6
      dist: xenial

    - python: "3.7"
      env: PY_VER=3.7
      dist: xenial

    - python: "3.8"
      env: PY_VER=3.8
      dist: xenial

before_install:
  - sudo apt-get install -y python-software-properties
  - sudo add-apt-repository -y ppa:deadsnakes/ppa
  - sudo apt-get update
  - sudo apt-get install -y python$PY_VER-dev

#install:
#  - pip install -r requirements.txt

script:
  - python$PY_VER pyconcrete-admin.py test
{'fraction_non_alphanumeric': 0.11969696969696969, 'fraction_numerical': 0.02878787878787879, 'mean_word_length': 2.229828850855746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5149694', 'n_tokens_mistral': 540, 'n_tokens_neox': 513, 'n_words': 124}