-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
22 lines (22 loc) · 987 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
os: linux
dist: bionic
language: java
jdk: openjdk13
services:
- postgresql
before_install:
- sudo apt-get update
- sudo apt-get install language-pack-de
- sudo /etc/init.d/postgresql stop
- sudo /etc/init.d/postgresql start 12
before_script:
- psql -c "CREATE USER kandidatentest WITH PASSWORD 'kandidatentestpwd' LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION;" -U postgres
- psql -c 'GRANT pg_signal_backend, postgres TO kandidatentest WITH ADMIN OPTION;' -U postgres
- psql -c "CREATE DATABASE kandidatentest WITH OWNER = kandidatentest TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'de_DE.UTF-8' LC_CTYPE = 'de_DE.UTF-8' CONNECTION LIMIT = -1;" -U postgres
- psql -c '\l' -U postgres
- psql -c '\dg' -U postgres
- psql -c '\dn' -U postgres
- psql -c 'select * from version();' -U postgres
- psql -c 'select * from version();' -U kandidatentest
sudo: false
script: ./mvnw clean site site:deploy -Ptravis -Dtest=AlphaTopLevelSuiteIT -B -V