-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #505 from a1kemist/slick-pg-updates
use testcontainers for tests, update addon/scala versions,
- Loading branch information
Showing
36 changed files
with
219 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,11 @@ | ||
dist: trusty | ||
sudo: required | ||
services: | ||
- docker | ||
language: scala | ||
scala: | ||
- 2.11.12 | ||
- 2.12.12 | ||
- 2.13.3 | ||
- 2.12.13 | ||
- 2.13.5 | ||
jdk: | ||
- oraclejdk8 | ||
before_install: | ||
- sudo /etc/init.d/postgresql stop | ||
- sudo apt-get -y remove --purge postgresql-9.1 | ||
- sudo apt-get -y remove --purge postgresql-9.2 | ||
- sudo apt-get -y remove --purge postgresql-9.3 | ||
- sudo apt-get -y remove --purge postgresql-9.4 | ||
- sudo apt-get -y remove --purge postgresql-9.5 | ||
- sudo apt-get -y remove --purge postgresql-9.6 | ||
- sudo apt-get -y autoremove | ||
- sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 10" >> /etc/apt/sources.list.d/postgresql.list' | ||
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | ||
- sudo apt-get update | ||
- sudo apt-get -y install postgresql-10 postgresql-contrib-10 postgresql-10-postgis-2.4 | ||
- sudo sh -c 'echo "local all postgres trust" > /etc/postgresql/10/main/pg_hba.conf' | ||
- sudo sh -c 'echo -n "host all all 127.0.0.1/32 trust" >> /etc/postgresql/10/main/pg_hba.conf' | ||
- sudo service postgresql restart 10 | ||
before_script: | ||
- psql -c 'create database test;' -U postgres | ||
- psql test -c 'CREATE EXTENSION IF NOT EXISTS hstore;' -U postgres | ||
- psql test -c 'CREATE EXTENSION IF NOT EXISTS ltree;' -U postgres | ||
- psql test -c 'CREATE EXTENSION IF NOT EXISTS postgis;' -U postgres | ||
- psql test -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;' -U postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.