<commit_before># frozen_string_literal: true

override['maven']['install_java'] = false
override['travis_system_info']['commands_file'] = \
  '/var/tmp/ubuntu-2004-system-info-commands.yml'
# override['travis_build_environment']['system_python']['pythons'] = %w[3.7]
# override['travis_build_environment']['python_aliases'] = {
#   #'3.8.1' => %w[3.8],
#   '3.7.6' => %w[3.7]
#   #'pypy2.7-5.8.0' => %w[pypy],
#   #'pypy3.5-5.8.0' => %w[pypy3]
# }

override['travis_build_environment']['pythons'] = []
override['travis_build_environment']['python_aliases'] = {}
override['travis_build_environment']['pip']['packages'] = {}
override['travis_build_environment']['system_python']['pythons'] = []

# php_aliases = {
#   # '7.2' => '7.2.26',
#   # '7.3' => '7.3.13',
#   # '7.4' => '7.4.1'
# }
# override['travis_build_environment']['php_versions'] = php_aliases.values
# override['travis_build_environment']['php_default_version'] = php_aliases['7.4']
# override['travis_build_environment']['php_aliases'] = php_aliases

override['travis_build_environment']['php_versions'] = []
override['travis_build_environment']['php_aliases'] = {}

override['travis_build_environment']['elasticsearch']['version'] = '7.6.0'
if node['kernel']['machine'] == 'ppc64le'
  override['travis_build_environment']['php_versions'] = []
  override['travis_build_environment']['php_default_version'] = []
  override['travis_build_environment']['php_aliases'] = {}

  # TODO: remove if/when an HHVM version is available on ppc64
  override['travis_build_environment']['hhvm_enabled'] = false
end

override['travis_perlbrew']['perls'] = []
override['travis_perlbrew']['modules'] = []
override['travis_perlbrew']['prerequisite_packages'] = []

gimme_versions = %w[
  1.11.1
]

override['travis_build_environment']['gimme']['versions'] = gimme_versions
override['travis_build_environment']['gimme']['default_version'] = gimme_versions.max

if node['kernel']['machine'] == 'ppc64le'
  override['travis_java']['default_version'] = 'openjdk8'
  override['travis_java']['alternate_versions'] = %w[openjdk7]
else
  override['travis_jdk']['versions'] = %w[
    openjdk10
    openjdk11
  ]
  override['travis_jdk']['default'] = 'openjdk11'
end

override['leiningen']['home'] = '/home/travis'
override['leiningen']['user'] = 'travis'

override['travis_build_environment']['nodejs_versions'] = %w[
  12.7.0
  10.16.0
]
override['travis_build_environment']['nodejs_default'] = '10.16.0'

# pythons = %w[
#   3.7.6
#   3.8.1
# ]
# override['travis_build_environment']['pythons'] = pythons

rubies = %w[
  2.5.7
  2.6.5
  2.7.0
]

override['travis_build_environment']['default_ruby'] = rubies.reject { |n| n =~ /jruby/ }.max
override['travis_build_environment']['rubies'] = rubies

override['travis_build_environment']['otp_releases'] = []
override['travis_build_environment']['elixir_versions'] = []
override['travis_build_environment']['default_elixir_version'] = ''

override['travis_build_environment']['update_hostname'] = false
override['travis_build_environment']['update_hostname'] = true if node['kernel']['machine'] == 'ppc64le'
override['travis_build_environment']['use_tmpfs_for_builds'] = false

override['travis_build_environment']['mercurial_install_type'] = 'pip'
override['travis_build_environment']['mercurial_version'] = '5.3'

override['travis_packer_templates']['job_board']['stack'] = 'ubuntu_2004'

override['travis_postgresql']['default_version'] = '11'
override['travis_postgresql']['alternate_versions'] = %w[11]
override['travis_postgresql']['enabled'] = false # is default instance started on machine boot?

override['travis_packer_templates']['job_board']['features'] = %w[
  basic
  couchdb
  disabled-ipv6
  docker
  docker-compose
  elasticsearch
  firefox
  go-toolchain
  google-chrome
  jdk
  memcached
  mongodb
  mysql
  nodejs_interpreter
  perl_interpreter
  perlbrew
  phantomjs
  postgresql
  python_interpreter
  redis
  ruby_interpreter<commit_msg>Remove postgresql<commit_after># frozen_string_literal: true

override['maven']['install_java'] = false
override['travis_system_info']['commands_file'] = \
  '/var/tmp/ubuntu-2004-system-info-commands.yml'
# override['travis_build_environment']['system_python']['pythons'] = %w[3.7]
# override['travis_build_environment']['python_aliases'] = {
#   #'3.8.1' => %w[3.8],
#   '3.7.6' => %w[3.7]
#   #'pypy2.7-5.8.0' => %w[pypy],
#   #'pypy3.5-5.8.0' => %w[pypy3]
# }

override['travis_build_environment']['pythons'] = []
override['travis_build_environment']['python_aliases'] = {}
override['travis_build_environment']['pip']['packages'] = {}
override['travis_build_environment']['system_python']['pythons'] = []

# php_aliases = {
#   # '7.2' => '7.2.26',
#   # '7.3' => '7.3.13',
#   # '7.4' => '7.4.1'
# }
# override['travis_build_environment']['php_versions'] = php_aliases.values
# override['travis_build_environment']['php_default_version'] = php_aliases['7.4']
# override['travis_build_environment']['php_aliases'] = php_aliases

override['travis_build_environment']['php_versions'] = []
override['travis_build_environment']['php_aliases'] = {}

override['travis_build_environment']['elasticsearch']['version'] = '7.6.0'
if node['kernel']['machine'] == 'ppc64le'
  override['travis_build_environment']['php_versions'] = []
  override['travis_build_environment']['php_default_version'] = []
  override['travis_build_environment']['php_aliases'] = {}

  # TODO: remove if/when an HHVM version is available on ppc64
  override['travis_build_environment']['hhvm_enabled'] = false
end

override['travis_perlbrew']['perls'] = []
override['travis_perlbrew']['modules'] = []
override['travis_perlbrew']['prerequisite_packages'] = []

gimme_versions = %w[
  1.11.1
]

override['travis_build_environment']['gimme']['versions'] = gimme_versions
override['travis_build_environment']['gimme']['default_version'] = gimme_versions.max

if node['kernel']['machine'] == 'ppc64le'
  override['travis_java']['default_version'] = 'openjdk8'
  override['travis_java']['alternate_versions'] = %w[openjdk7]
else
  override['travis_jdk']['versions'] = %w[
    openjdk10
    openjdk11
  ]
  override['travis_jdk']['default'] = 'openjdk11'
end

override['leiningen']['home'] = '/home/travis'
override['leiningen']['user'] = 'travis'

override['travis_build_environment']['nodejs_versions'] = %w[
  12.7.0
  10.16.0
]
override['travis_build_environment']['nodejs_default'] = '10.16.0'

# pythons = %w[
#   3.7.6
#   3.8.1
# ]
# override['travis_build_environment']['pythons'] = pythons

rubies = %w[
  2.5.7
  2.6.5
  2.7.0
]

override['travis_build_environment']['default_ruby'] = rubies.reject { |n| n =~ /jruby/ }.max
override['travis_build_environment']['rubies'] = rubies

override['travis_build_environment']['otp_releases'] = []
override['travis_build_environment']['elixir_versions'] = []
override['travis_build_environment']['default_elixir_version'] = ''

override['travis_build_environment']['update_hostname'] = false
override['travis_build_environment']['update_hostname'] = true if node['kernel']['machine'] == 'ppc64le'
override['travis_build_environment']['use_tmpfs_for_builds'] = false

override['travis_build_environment']['mercurial_install_type'] = 'pip'
override['travis_build_environment']['mercurial_version'] = '5.3'

override['travis_packer_templates']['job_board']['stack'] = 'ubuntu_2004'

# not yet supported
# override['travis_postgresql']['default_version'] = '11'
# override['travis_postgresql']['alternate_versions'] = %w[11]
# override['travis_postgresql']['enabled'] = false # is default instance started on machine boot?

override['travis_packer_templates']['job_board']['features'] = %w[
  basic
  couchdb
  disabled-ipv6
  docker
  docker-compose
  elasticsearch
  firefox
  go-toolchain
  google-chrome
  jdk
  memcached
  mongodb
  mysql
  nodejs_interpreter
  perl_interpreter
  perlbrew
  phantomjs
  postgresql
  python_interpreter
  redis
  ruby_interpreter
{'fraction_non_alphanumeric': 0.1872791519434629, 'fraction_numerical': 0.02751135790005048, 'mean_word_length': 7.368532206969377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '1366460', 'n_tokens_mistral': 2902, 'n_tokens_neox': 2889, 'n_words': 335}