<commit_before>language: rust
rust: nightly
sudo: false

cache:
  directories:
    - node_modules

before_script:
  - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
  - psql -c 'create database cargo_registry_test;' -U postgres
  - nvm install 0.12
  - npm install -g phantomjs bower
  - npm install
  - bower install

script:
  - cargo build
  - cargo test
  - npm test

after_success:
  - travis-cargo coveralls --no-sudo

addons:
  postgresql: "9.3"
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
<commit_msg>TravisCI: Use "install" and "before_install" sections<commit_after>language: rust
rust: nightly
sudo: false

cache:
  directories:
    - node_modules

before_install:
  - nvm install 0.12

install:
  - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
  - npm install -g phantomjs bower
  - npm install
  - bower install

before_script:
  - psql -c 'create database cargo_registry_test;' -U postgres

script:
  - cargo build
  - cargo test
  - npm test

after_success:
  - travis-cargo coveralls --no-sudo

addons:
  postgresql: "9.3"
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

{'fraction_non_alphanumeric': 0.10821806346623271, 'fraction_numerical': 0.013018714401952807, 'mean_word_length': 2.727272727272727, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2034733', 'n_tokens_mistral': 471, 'n_tokens_neox': 447, 'n_words': 115}