<commit_before>language: generic

matrix:
  fast_finish: true

# Run in ubuntu-trusty environment
dist: trusty
sudo: required

# OS packages
addons:
  apt:
    packages: [uidmap, vagga]
    sources:
      - sourceline: >-
          deb [arch=amd64 trusted=yes] http://ubuntu.zerogw.com vagga-testing main

# Cache .vagga images to speedup sequential builds
cache:
  timeout: 21600 # 6 hours
  directories:
   - .vagga/.roots
   - .vagga/.mnt
   - .vagga/.transient

# Scripts to install dependencies
# These are mostly honestly borrowed from https://github.com/tailhook/vagga/tree/master/.travis.yml
before_install:
  - 'echo ubuntu-mirror: http://mirrors.us.kernel.org/ubuntu/ > ~/.vagga.yaml'
  - echo "$(id -un):100000:65536" | sudo tee /etc/subuid | sudo tee /etc/subgid

install: vagga _build nodejs-7-ubuntu-bin

# Run tests
script: vagga test<commit_msg>Drop unneeded configuration steps<commit_after>language: generic

matrix:
  fast_finish: true

# Run in ubuntu-trusty environment
dist: trusty
sudo: required

# OS packages
addons:
  apt:
    packages: [vagga]
    sources:
      - sourceline: >-
          deb [arch=amd64 trusted=yes] http://ubuntu.zerogw.com vagga-testing main

# Cache .vagga images to speedup sequential builds
cache:
  timeout: 21600 # 6 hours
  directories:
   - .vagga/.roots
   - .vagga/.mnt
   - .vagga/.transient

# Scripts to install dependencies
# These are mostly honestly borrowed from https://github.com/tailhook/vagga/tree/master/.travis.yml
before_install: 'echo ubuntu-mirror: http://mirrors.us.kernel.org/ubuntu/ > ~/.vagga.yaml'

install: vagga _build nodejs-7-ubuntu-bin

# Run tests
script: vagga test
{'fraction_non_alphanumeric': 0.11454545454545455, 'fraction_numerical': 0.017575757575757574, 'mean_word_length': 3.4026666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2034766', 'n_tokens_mistral': 619, 'n_tokens_neox': 561, 'n_words': 148}