<commit_before>language: go

sudo: required

services:
    - docker

before_install:
    # libseccomp in trusty is not new enough, need backports version.
    - sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' > /etc/apt/sources.list.d/backports.list"
    - sudo apt-get update

install:
    - sudo apt-get install btrfs-tools
    - sudo apt-get install libseccomp2/trusty-backports
    - sudo apt-get install libseccomp-dev/trusty-backports
    - docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter

before_script:
    - export PATH=$HOME/gopath/bin:$PATH

jobs:
  include:
    - stage: Build
      script:
        - make install.tools
        - make .gitvalidation
        - make verify
        - make binaries
      go: 1.8.x
    - stage: Build
      script:
        - make install.tools
        - make .gitvalidation
        - make verify
        - make binaries
      go: tip
    - stage: Test
      script:
        - make install.deps
        - make test
        - make binaries
        - make test-cri
      go: 1.8.x
    - stage: Test
      script:
        - make install.deps
        - make test
        - make binaries
        - make test-cri<commit_msg>parallel script execution for each go version within stage<commit_after>language: go

sudo: required

services:
    - docker

before_install:
    # libseccomp in trusty is not new enough, need backports version.
    - sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' > /etc/apt/sources.list.d/backports.list"
    - sudo apt-get update

install:
    - sudo apt-get install btrfs-tools
    - sudo apt-get install libseccomp2/trusty-backports
    - sudo apt-get install libseccomp-dev/trusty-backports
    - docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter

before_script:
    - export PATH=$HOME/gopath/bin:$PATH

jobs:
  include:
    - stage: Verify
      script:
        - make install.tools
        - make .gitvalidation
        - make verify
      go: 1.8.x
    - script:
        - make install.tools
        - make .gitvalidation
        - make verify
      go: tip
    - stage: Build and Test
      script:
        - make install.deps
        - make test
        - make binaries
        - make test-cri
      go: 1.8.x
    - script:
        - make install.deps
        - make test
        - make binaries
        - make test-cri
{'fraction_non_alphanumeric': 0.08877928483353884, 'fraction_numerical': 0.004110152075626798, 'mean_word_length': 1.8601645123384254, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7603946', 'n_tokens_mistral': 785, 'n_tokens_neox': 743, 'n_words': 213}