<commit_before>env:
  global: 
    - CC_TEST_REPORTER_ID=81f38c3825291d927d6d4bff2de777a7b786b9ee7038fbbb4bfba75a335248dd

language: python
python:
    - 3.5

install:
    - pip install --upgrade pipenv
    - pipenv install --three --dev
    - pipenv uninstall django 
    - pipenv install django==1.8.18 

before_script:
    - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > cc-test-reporter
    - chmod +x cc-test-reporter
    - ./cc-test-reporter before-build

script:
    - pipenv run coverage run -m pytest

after_script:
    - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT<commit_msg>[UPDATE] Adiciona comando no travis para gerar xml do coverage<commit_after>env:
  global: 
    - CC_TEST_REPORTER_ID=81f38c3825291d927d6d4bff2de777a7b786b9ee7038fbbb4bfba75a335248dd

language: python
python:
    - 3.5

install:
    - pip install --upgrade pipenv
    - pipenv install --three --dev
    - pipenv uninstall django 
    - pipenv install django==1.8.18 

before_script:
    - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > cc-test-reporter
    - chmod +x cc-test-reporter
    - ./cc-test-reporter before-build

script:
    - pipenv run coverage run -m pytest
    - pipenv run coverage xml

after_script:
    - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
{'fraction_non_alphanumeric': 0.10079767947788253, 'fraction_numerical': 0.06671501087744743, 'mean_word_length': 3.0828402366863905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3127875', 'n_tokens_mistral': 561, 'n_tokens_neox': 513, 'n_words': 100}