forked from pietermartin/sqlg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (37 loc) · 1.4 KB
/
.travis.yml
File metadata and controls
38 lines (37 loc) · 1.4 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
dist: trusty
sudo: required
before_install:
- sudo sed -i -e 's/max_connections.*/max_connections = 1000/' /etc/postgresql/9.6/main/postgresql.conf
- sudo sed -i -e 's/#max_locks_per_transaction.*/max_locks_per_transaction = 256/' /etc/postgresql/9.6/main/postgresql.conf
- sudo sed -i -e 's/#shared_buffers.*/shared_buffers = 1024MB/' /etc/postgresql/9.6/main/postgresql.conf
- sudo /etc/init.d/postgresql restart
language: java
jdk:
- oraclejdk8
#env:
# - MAVEN_OPTS="-Xmx4096m"
#script: "./run-tests.sh"
script:
- sudo rm /etc/mavenrc
- export MAVEN_OPTS="-Djava.security.egd=file:/dev/./urandom -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx5012m"
- mvn -e -T40 test
addons:
postgresql: "9.6"
before_script:
- psql -c 'create database "sqlgraphdb";' -U postgres
- psql -c 'create database "g1";' -U postgres
- psql -c 'create database "g2";' -U postgres
- psql -c 'create database "prototype";' -U postgres
- psql -c 'create database "readGraph";' -U postgres
- psql -c 'create database "standard";' -U postgres
- psql -c 'create database "subgraph";' -U postgres
- psql -c 'create database "temp";' -U postgres
- psql -c 'create database "temp1";' -U postgres
- psql -c 'create database "temp2";' -U postgres
- psql -c 'create database "target";' -U postgres
notifications:
email:
recipients:
on_success: always
on_failure: always