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
35 lines (26 loc) · 748 Bytes
/
.travis.yml
File metadata and controls
35 lines (26 loc) · 748 Bytes
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
sudo: required
services:
- docker
before_install:
# Stops the local instance of Postgres.
- sudo /etc/init.d/postgresql stop
# Checks which Docker containers are running for debug purposes.
- docker ps
# Starts the test Postgres server within a Docker container.
- cd sqlg-testdb-postgres && ./start.sh
# Sleeps 30 seconds to allow Postgres database to start.
- sleep 30
language: java
jdk:
- oraclejdk8
script:
- cd $TRAVIS_BUILD_DIR
- sudo rm /etc/mavenrc
- export MAVEN_OPTS="-Djava.security.egd=file:/dev/urandom -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx5012m"
- mvn -T4 test
notifications:
email:
recipients:
on_success: always
on_failure: always