<commit_before>sudo: required
language: java
jdk:
#- openjdk6
#- openjdk10
#- openjdk9
- oraclejdk8
- oraclejdk9
- openjdk7
- openjdk8
before_install: # Work around missing crypto in openjdk7
  - sudo wget "https://bouncycastle.org/download/bcprov-ext-jdk15on-158.jar" -O "${JAVA_HOME}/jre/lib/ext/bcprov-ext-jdk15on-158.jar"
  - sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
  - echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security


matrix:
  allow_failures:<commit_msg>build: different workaround for jdk7<commit_after>sudo: required
language: java
jdk:
#- openjdk6
#- openjdk10
#- openjdk9
- oraclejdk8
- oraclejdk9
- openjdk7
- openjdk8
before_install: # Work around missing crypto in openjdk7
  - sudo sed -i 's/^jdk.certpath.disabledAlgorithms=.*/jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, ECDSA/' /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/java.security || true

matrix:
  allow_failures:
{'fraction_non_alphanumeric': 0.1455223880597015, 'fraction_numerical': 0.04291044776119403, 'mean_word_length': 4.338308457711443, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '165260', 'n_tokens_mistral': 464, 'n_tokens_neox': 433, 'n_words': 73}