forked from everit-org/blobstore-jdbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (23 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
language: java
jdk:
- oraclejdk8
addons:
postgresql: "9.4"
before_install:
- sudo /etc/init.d/postgresql stop
- sudo chmod a+rw /etc/postgresql/9.2/main/postgresql.conf
- sudo printf "max_prepared_transactions = 100\n" >> /etc/postgresql/9.2/main/postgresql.conf
- sudo chmod a+rw /etc/postgresql/9.3/main/postgresql.conf
- sudo printf "max_prepared_transactions = 100\n" >> /etc/postgresql/9.3/main/postgresql.conf
- sudo chmod a+rw /etc/postgresql/9.4/main/postgresql.conf
- sudo printf "max_prepared_transactions = 100\n" >> /etc/postgresql/9.4/main/postgresql.conf
- sudo /etc/init.d/postgresql restart
before_script:
- psql -c 'SHOW config_file;' -U postgres
- psql -c 'create database blobstore_jdbc;' -U postgres
- mysql -e 'create database blobstore_jdbc;'
script: mvn verify -Dpostgresql.enabled=true -Dpostgresql.user=postgres -Dpostgresql.password= -Dmysql.ram.enabled=true -Dmysql.ram.database=blobstore_jdbc -Dmysql.ram.user=travis -Dmysql.ram.password=
install: true
cache:
directories:
- $HOME/.m2