fix travis build at
@@ -6,10 +6,10 @@ addons:
organization: "hack23"
github_token: "$GITHUB_TOKEN"
chrome: stable
- postgresql: "10"
apt:
packages:
- oracle-java8-installer
+ - oracle-java8-set-default
- openjdk-11-jdk-headless
- graphviz
- build-essential
@@ -20,7 +20,6 @@ addons:
- bzr-builddeb
- postgresql-10
- postgresql-client-10
- - postgresql-contrib
- postgresql-10-pgaudit
- openssl
- locales
@@ -28,7 +27,6 @@ addons:
jdk:
- oraclejdk8
- - openjdk11
env:
global:
@@ -47,7 +45,7 @@ before_script:
- sudo echo 'LANG=\"en_US.UTF-8\"' | sudo tee --append /etc/default/locale
- sudo locale-gen en_US.UTF-8 en_GB.UTF-8 sv_SE.UTF-8
- sudo dpkg-reconfigure --frontend=noninteractive locales
- - sudo service postgresql stop 10
+ - sudo service postgresql stop 10 | true
- sudo sh -c "echo 'host all all 0.0.0.0/0 md5' | sudo tee --append /etc/postgresql/10/main/pg_hba.conf"
- openssl rand -base64 48 > passphrase.txt
- openssl genrsa -des3 -passout file:passphrase.txt -out server.pass.key 2048
