-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (25 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
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 9.6
before_script:
- psql -c "CREATE USER twitterwall2test WITH PASSWORD 'twitterwall2testpwd' LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION;" -U postgres
- psql -c 'GRANT pg_signal_backend, postgres TO twitterwall2test WITH ADMIN OPTION;' -U postgres
- psql -c "CREATE DATABASE twitterwall2test WITH OWNER = twitterwall2test 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 twitterwall2test
sudo: false
script: ./mvnw clean site site:deploy -Ptravis -Dtest=AlphaTopLevelSuiteIT -B -V