<commit_before>language: java

sudo: true

before_cache:
- rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
  directories:
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/

services:
- docker

jdk:
- oraclejdk7
- openjdk7
- oraclejdk8

before_install:
# We have to change the hostname to work around a bug in openjdk7 that crashes when the hostname is
# too long.
- export OLD_HOSTNAME=`hostname` && sudo sed -i -e "s/$OLD_HOSTNAME/test/g" /etc/hosts && sudo hostname test

# Don't run eval ./gradlew assemble"
install:
- ./gradlew examples:geoserverData

script:
- ./gradlew build

after_failure:
- cat core/build/reports/checkstyleReports/main.xml
- cat core/build/reports/findbugsReports/main.xml
- cat core/build/reports/tests/index.html
- sh travis/print-examples-test-output.sh

deploy:
- provider: script
  script: travis/publish.sh
  skip_cleanup: true
  on:
    repo: mapfish/mapfish-print
    java: oraclejdk7<commit_msg>Remove oraclejdk7 from Travis<commit_after>language: java

sudo: true

before_cache:
- rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
  directories:
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/

services:
- docker

jdk:
- openjdk7
- oraclejdk8

before_install:
# We have to change the hostname to work around a bug in openjdk7 that crashes when the hostname is
# too long.
- export OLD_HOSTNAME=`hostname` && sudo sed -i -e "s/$OLD_HOSTNAME/test/g" /etc/hosts && sudo hostname test

# Don't run eval ./gradlew assemble"
install:
- ./gradlew examples:geoserverData

script:
- ./gradlew build

after_failure:
- cat core/build/reports/checkstyleReports/main.xml
- cat core/build/reports/findbugsReports/main.xml
- cat core/build/reports/tests/index.html
- sh travis/print-examples-test-output.sh

deploy:
- provider: script
  script: travis/publish.sh
  skip_cleanup: true
  on:
    repo: mapfish/mapfish-print
    java: openjdk7
{'fraction_non_alphanumeric': 0.12068102153229844, 'fraction_numerical': 0.007010515773660491, 'mean_word_length': 3.6143187066974596, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '443563', 'n_tokens_mistral': 759, 'n_tokens_neox': 708, 'n_words': 173}