<commit_before>language: csharp
mono: 3.12.0
env:
  - TARGET_LANG=dotnet
  - DOTNET_SDK_URL=https://go.microsoft.com/fwlink/?LinkID=798405 # v1.0.0-preview1
sudo: false

matrix:
  include:
    - env: TARGET_LANG=perl
      language: perl
      perl: "5.14"
      install:
        - ( cd $TARGET_LANG; dzil authordeps --missing | cpanm --no-skip-satisfied )
        - ( cd $TARGET_LANG; dzil listdeps --author --missing | cpanm --no-skip-satisfied )

    - env: TARGET_LANG=perl
      language: perl
      perl: "5.20"
      install:
        - ( cd $TARGET_LANG; dzil authordeps --missing | cpanm --no-skip-satisfied )
        - ( cd $TARGET_LANG; dzil listdeps --author --missing | cpanm --no-skip-satisfied )

    - env: TARGET_LANG=java
      language: java
      jdk: oraclejdk8
      before_install:
        # https://github.com/travis-ci/travis-ci/issues/2839
        - export JAVA_HOME="$(/usr/libexec/java_home)"

    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.0.0
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.1.8
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.2.4
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.3.0
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: jruby-1.7.24
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: jruby-9.0.5.0
      before_install:
        - gem install bundler -v 1.11.2

    - env: TARGET_LANG=javascript
      language: javascript
      node_js: 4.4.1
    - env: TARGET_LANG=javascript
      language: javascript
      node_js: 5.9.0

    - env: TARGET_LANG=go
      language: go
      go: tip

    - env: TARGET_LANG=python
      language: python
      python: "2.7.11"
      install: "pip install -r $TARGET_LANG/requirements.txt"
    - env: TARGET_LANG=python
      language: python
      python: "3.5.1"
      install: "pip install -r $TARGET_LANG/requirements.txt"

    - env: TARGET_LANG=objective-c
      language: objective-c
      os: osx
      osx_image: xcode7
      before_script:
        - brew install jq

before_install:
  - export EnableNuGetPackageRestore=true

install:
  # Download .NET Core SDK and add to PATH
  - export DOTNET_INSTALL_DIR="$PWD/.dotnetsdk"
  - mkdir -p "$DOTNET_INSTALL_DIR"
  - curl -L "$DOTNET_SDK_URL" | tar -xzv -C "$DOTNET_INSTALL_DIR"
  - export PATH="$DOTNET_INSTALL_DIR:$PATH"<commit_msg>set distro for dotnet to trusty<commit_after>language: csharp
mono: 3.12.0
env:
  - TARGET_LANG=dotnet
  - DOTNET_SDK_URL=https://go.microsoft.com/fwlink/?LinkID=798405 # v1.0.0-preview1
sudo: false

matrix:
  include:
    - env: TARGET_LANG=perl
      language: perl
      perl: "5.14"
      install:
        - ( cd $TARGET_LANG; dzil authordeps --missing | cpanm --no-skip-satisfied )
        - ( cd $TARGET_LANG; dzil listdeps --author --missing | cpanm --no-skip-satisfied )

    - env: TARGET_LANG=perl
      language: perl
      perl: "5.20"
      install:
        - ( cd $TARGET_LANG; dzil authordeps --missing | cpanm --no-skip-satisfied )
        - ( cd $TARGET_LANG; dzil listdeps --author --missing | cpanm --no-skip-satisfied )

    - env: TARGET_LANG=java
      language: java
      jdk: oraclejdk8
      before_install:
        # https://github.com/travis-ci/travis-ci/issues/2839
        - export JAVA_HOME="$(/usr/libexec/java_home)"

    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.0.0
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.1.8
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.2.4
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: 2.3.0
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: jruby-1.7.24
      before_install:
        - gem install bundler -v 1.11.2
    - env: TARGET_LANG=ruby
      language: ruby
      rvm: jruby-9.0.5.0
      before_install:
        - gem install bundler -v 1.11.2

    - env: TARGET_LANG=javascript
      language: javascript
      node_js: 4.4.1
    - env: TARGET_LANG=javascript
      language: javascript
      node_js: 5.9.0

    - env: TARGET_LANG=go
      language: go
      go: tip

    - env: TARGET_LANG=python
      language: python
      python: "2.7.11"
      install: "pip install -r $TARGET_LANG/requirements.txt"
    - env: TARGET_LANG=python
      language: python
      python: "3.5.1"
      install: "pip install -r $TARGET_LANG/requirements.txt"

    - env: TARGET_LANG=objective-c
      language: objective-c
      os: osx
      osx_image: xcode7
      before_script:
        - brew install jq

    - env: TARGET_LANG=dotnet
      dist: trusty
      #sudo: required

before_install:
  - export EnableNuGetPackageRestore=true

install:
  # Download .NET Core SDK and add to PATH
  - export DOTNET_INSTALL_DIR="$PWD/.dotnetsdk"
  - mkdir -p "$DOTNET_INSTALL_DIR"
  - curl -L "$DOTNET_SDK_URL" | tar -xzv -C "$DOTNET_INSTALL_DIR"
  - export PATH="$DOTNET_INSTALL_DIR:$PATH"
{'fraction_non_alphanumeric': 0.11049723756906077, 'fraction_numerical': 0.030570902394106814, 'mean_word_length': 2.108757870635375, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '43545', 'n_tokens_mistral': 2103, 'n_tokens_neox': 1938, 'n_words': 442}