<commit_before>language: python
python: 3.6.6

env:
  global:
    - TRAVIS_NODE_VERSION=8.9.4
    - PGPORT=5433

dist: trusty
sudo: true

addons:
  hosts:
    - warehouse.local
  postgresql: 10
  apt:
    packages:
    - postgresql-10
    - postgresql-client-10
    - nasm

services:
  - postgresql

cache:
  directories:
    - ~/.cache/pip
    - node_modules/

install:
  - 'rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION'
  - pip install -U pip setuptools wheel
  - pip install -r requirements/main.txt -r requirements/deploy.txt -r requirements/docs.txt -r requirements/lint.txt -r requirements/tests.txt
  - npm install
  - sudo cp /etc/postgresql/{9.6,10}/main/pg_hba.conf
  - sudo service postgresql restart

script:
  - node -v
  - npm -v
  - bin/tests --postgresql-host 127.0.0.1

matrix:
  include:
    - env:
      - SUITE=Tests
    - script: make lint BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Lint
    - script: make docs BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Documentation
    - script: make travis-deps BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Dependencies
    - script: make licenses BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Licenses

after_success:
  - bash <(curl -s https://codecov.io/bash)

branches:
  only:
    - master

notifications:
  irc:
    channels:
      - "irc.freenode.org#pypa-dev"
    use_notice: true
    skip_join: true
<commit_msg>Remove branch restriction to test feature branches (#3983)<commit_after>language: python
python: 3.6.6

env:
  global:
    - TRAVIS_NODE_VERSION=8.9.4
    - PGPORT=5433

dist: trusty
sudo: true

addons:
  hosts:
    - warehouse.local
  postgresql: 10
  apt:
    packages:
    - postgresql-10
    - postgresql-client-10
    - nasm

services:
  - postgresql

cache:
  directories:
    - ~/.cache/pip
    - node_modules/

install:
  - 'rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION'
  - pip install -U pip setuptools wheel
  - pip install -r requirements/main.txt -r requirements/deploy.txt -r requirements/docs.txt -r requirements/lint.txt -r requirements/tests.txt
  - npm install
  - sudo cp /etc/postgresql/{9.6,10}/main/pg_hba.conf
  - sudo service postgresql restart

script:
  - node -v
  - npm -v
  - bin/tests --postgresql-host 127.0.0.1

matrix:
  include:
    - env:
      - SUITE=Tests
    - script: make lint BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Lint
    - script: make docs BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Documentation
    - script: make travis-deps BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Dependencies
    - script: make licenses BINDIR="$(dirname $(which python))"
      env:
        - SUITE=Licenses

after_success:
  - bash <(curl -s https://codecov.io/bash)

{'fraction_non_alphanumeric': 0.13757634201221472, 'fraction_numerical': 0.01864352298296368, 'mean_word_length': 2.480984340044743, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4837398', 'n_tokens_mistral': 1174, 'n_tokens_neox': 1107, 'n_words': 268}