Skip to content

Commit 906847a

Browse files
authored
Merge pull request #36 from zalando/postgres-9.5.4
Postgres 9.5.4
2 parents 8db0456 + d786813 commit 906847a

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.swp
12
*.iml
23
.vagrant
34
.DS_Store

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
language: java
2+
23
jdk:
34
- openjdk7
45
- oraclejdk7
56
- oraclejdk8
7+
68
addons:
7-
postgresql: "9.3"
9+
postgresql: "9.5"
810

911
# go faster on travis
1012
sudo: false
1113

1214
# stop mvn install from running
1315
install: true
1416

15-
script: mvn -B -V package javadoc:javadoc test
17+
script: mvn -B -V package $( [[ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]] && echo javadoc:javadoc ) test
1618

1719
after_success:
18-
- mvn clean test jacoco:report coveralls:report
20+
- mvn -B -V clean test jacoco:report coveralls:report

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<plugin>
7272
<groupId>org.apache.maven.plugins</groupId>
7373
<artifactId>maven-compiler-plugin</artifactId>
74-
<version>3.1</version>
74+
<version>3.5.1</version>
7575
<configuration>
7676
<source>1.7</source>
7777
<target>1.7</target>
@@ -80,12 +80,12 @@
8080
<plugin>
8181
<groupId>org.apache.maven.plugins</groupId>
8282
<artifactId>maven-resources-plugin</artifactId>
83-
<version>2.6</version>
83+
<version>3.0.1</version>
8484
</plugin>
8585
<plugin>
8686
<groupId>org.eluder.coveralls</groupId>
8787
<artifactId>coveralls-maven-plugin</artifactId>
88-
<version>3.0.1</version>
88+
<version>4.2.0</version>
8989
</plugin>
9090
<plugin>
9191
<groupId>org.jacoco</groupId>

test.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
#!/bin/bash
22

3+
if ! which docker &> /dev/null ; then
4+
echo 'Ensure that docker is installed and is in PATH'
5+
exit 1
6+
fi
7+
8+
if ! docker info | grep -q 'Server Version' ; then
9+
echo 'Ensure that docker service is running'
10+
echo 1
11+
fi
12+
313
if nc -w 5 -z localhost 5432; then
414
echo 'There is already some process listening on port 5432.'
515
echo 'Please shutdown any existing PostgreSQL instance and re-run this script.'
616
exit 1
717
fi
818

9-
PGVERSION=9.4.5
19+
PGVERSION=9.5.4
1020

1121
container=$(docker ps | grep postgres:$PGVERSION)
1222
if [ -z "$container" ]; then

0 commit comments

Comments
 (0)