<NME> .travis.yml
<BEF> dist: focal

language: java

jdk:
 - oraclejdk11

services:
 - mongodb
 - postgresql

addons:
  postgresql: "11"

before_install:
 # See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916
before_install:
 # See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916
 - rm ~/.m2/settings.xml
 # We need GraphViz to generate images
 - "sudo apt-get install graphviz 2>&1 | tail -n 2"

install: skip

before_script:
 - psql -c 'CREATE DATABASE fulltexttest;' -U postgres
 - psql -c 'CREATE USER testfts PASSWORD '"'testfts'"';' -U postgres fulltexttest
 - psql -c 'GRANT ALL ON DATABASE fulltexttest to testfts' -U postgres fulltexttest

script: mvn -B -V install && mvn -B -V -Pexamples install

<MSG> #211 - fix for postgresql travis setup

<DFF> @@ -7,10 +7,7 @@ jdk:
 
 services:
  - mongodb
- - postgresql
-
-addons:
-  postgresql: "11"
+ - postgresql: "11.2"
 
 before_install:
  # See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916

{'commit': 'diff --git a/.travis.yml b/.travis.yml\nindex ce800853..58db70f3 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -7,10 +7,7 @@ jdk:\n \n services:\n  - mongodb\n- - postgresql\n-\n-addons:\n-  postgresql: "11"\n+ - postgresql: "11.2"\n \n before_install:\n  # See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916\n', 'commit_subject': '#211 - fix for postgresql travis setup', 'repo_name': 'sculptor/sculptor', 'committer': {'name': 'Pavel Tavoda', 'email': '7812650fd68fabd89175c534b6e544d04cee2bd8@gmail.com', 'time_sec': '1613160813', 'tz_offset': '60', 'date': {'seconds': '1613160813'}}, 'commit_tree': 'cd765fe231dc0c54250196ec9fc0f9aef67ca651', 'commit_message': '#211 - fix for postgresql travis setup\n', 'language_name': 'Shell', 'license': 'apache-2.0', 'hunks': '@@ -7,10 +7,7 @@ jdk:\n \n services:\n  - mongodb\n- - postgresql\n-\n-addons:\n-  postgresql: "11"\n+ - postgresql: "11.2"\n \n before_install:\n  # See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916\n', 'addition_count': 1, 'deletion_count': 4, 'src_file': 'a/.travis.yml', 'tgt_file': 'b/.travis.yml', 'file_extension': '.yml', 'before_file': 'dist: focal\n\nlanguage: java\n\njdk:\n - oraclejdk11\n\nservices:\n - mongodb\n - postgresql\n\naddons:\n  postgresql: "11"\n\nbefore_install:\n # See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916\nbefore_install:\n # See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916\n - rm ~/.m2/settings.xml\n # We need GraphViz to generate images\n - "sudo apt-get install graphviz 2>&1 | tail -n 2"\n\ninstall: skip\n\nbefore_script:\n - psql -c \'CREATE DATABASE fulltexttest;\' -U postgres\n - psql -c \'CREATE USER testfts PASSWORD \'"\'testfts\'"\';\' -U postgres fulltexttest\n - psql -c \'GRANT ALL ON DATABASE fulltexttest to testfts\' -U postgres fulltexttest\n\nscript: mvn -B -V install && mvn -B -V -Pexamples install\n', 'message': '#211 - fix for postgresql travis setup\n', 'author_name': 'Pavel Tavoda', 'lang': 'travis'}