<commit_before>dist: trusty
sudo: false
language: java

addons:
  postgresql: "9.5"
  hosts: travis-fla4
  hostname: travis-fla4

before_install:
  # install up-2-date Maven version
  - wget http://www-eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
  - unzip -qq apache-maven-3.3.9-bin.zip
  - export M2_HOME=$PWD/apache-maven-3.3.9
  - export PATH=$M2_HOME/bin:$PATH
  - export PAGER=cat
  # create Flamingo database
  - psql --version
  - psql -U postgres -d postgres -c 'SELECT Version();'
  - psql -U postgres -a -c "CREATE ROLE flamingo4 LOGIN PASSWORD '<PASSWORD>' SUPERUSER CREATEDB;"
  - psql -U postgres -a -c 'create database flamingo4;'
  - psql -U postgres -a -c 'ALTER DATABASE flamingo4 OWNER TO flamingo4;'

install:
  # install without testing
  #- mvn install -U -DskipTests -Dtest.skip.integrationtests=true -pl viewer-config-persistence,viewer-commons,web-commons -B -V -fae -q
  - mvn install -U -DskipTests -Dtest.skip.integrationtests=true -B -V -fae -q

script:
  # execute unit tests
  - mvn -e clean test -B
  # run integration tests on all modules except viewer-admin
  - mvn -e clean verify -B -Ptravis-ci -pl '!viewer-admin'
  # run integration tests on viewer-admin module only
  - mvn -e clean verify -B -Ptravis-ci -pl 'viewer-admin'
  # on oracle java 8 run a javadoc build to check for errors
  - if [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
         mvn javadoc:javadoc;
    fi

jdk:
  - oraclejdk8
  - openjdk8

os:
  - linux

matrix:
  fast_finish: true

cache:
  directories:
  - $HOME/.m2
<commit_msg>also check test-javadoc for validity<commit_after>dist: trusty
sudo: false
language: java

addons:
  postgresql: "9.5"
  hosts: travis-fla4
  hostname: travis-fla4

before_install:
  # install up-2-date Maven version
  - wget http://www-eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
  - unzip -qq apache-maven-3.3.9-bin.zip
  - export M2_HOME=$PWD/apache-maven-3.3.9
  - export PATH=$M2_HOME/bin:$PATH
  - export PAGER=cat
  # create Flamingo database
  - psql --version
  - psql -U postgres -d postgres -c 'SELECT Version();'
  - psql -U postgres -a -c "CREATE ROLE flamingo4 LOGIN PASSWORD '<PASSWORD>' SUPERUSER CREATEDB;"
  - psql -U postgres -a -c 'create database flamingo4;'
  - psql -U postgres -a -c 'ALTER DATABASE flamingo4 OWNER TO flamingo4;'

install:
  # install without testing
  #- mvn install -U -DskipTests -Dtest.skip.integrationtests=true -pl viewer-config-persistence,viewer-commons,web-commons -B -V -fae -q
  - mvn install -U -DskipTests -Dtest.skip.integrationtests=true -B -V -fae -q

script:
  # execute unit tests
  - mvn -e clean test -B
  # run integration tests on all modules except viewer-admin
  - mvn -e clean verify -B -Ptravis-ci -pl '!viewer-admin'
  # run integration tests on viewer-admin module only
  - mvn -e clean verify -B -Ptravis-ci -pl 'viewer-admin'
  # on oracle java 8 run a javadoc build to check for errors
  - if [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
         mvn javadoc:javadoc;
    fi
  # on oracle java 8 run a test-javadoc build to check for errors
  - if [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
         mvn javadoc:test-javadoc;
    fi

jdk:
  - oraclejdk8
  - openjdk8

os:
  - linux

matrix:
  fast_finish: true

cache:
  directories:
  - $HOME/.m2

{'fraction_non_alphanumeric': 0.11755862898376428, 'fraction_numerical': 0.01803968731208659, 'mean_word_length': 2.951306413301663, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1483978', 'n_tokens_mistral': 1346, 'n_tokens_neox': 1270, 'n_words': 359}