postgresql-jdbc.git / summary / log / commit / refs
commit b6299347e15ea2a40c80de9907ae3f137caa4401
Author: Jorge Solorzano <jorsol@gmail.com>
Commit: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Date: Sat Dec 16 19:44:02 2017 +0000
chore: collect coverage for Java 7 (#1030)
This PR adds coverage to Java 7 build and ignore the coverage for the failing test of
extendedCacheEverything.
Add a check for break the build if the after_n_builds don't match COVERAGE jobs.
.travis.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 5de16385..b0ee930a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,7 @@ language: java
dist: trusty
before_script:
+ - test $(grep "after_n_builds" codecov.yml | tr -d '[:space:]' | cut -d":" -f2) -eq $(grep -e "COVERAGE=Y$" .travis.yml | wc -l) || exit 1
- export PG_DATADIR="/etc/postgresql/${PG_VERSION}/main"
- ./.travis/travis_install_postgres.sh
- test "x$XA" == 'x' || ./.travis/travis_configure_xa.sh
@@ -67,7 +68,7 @@ matrix:
- env: # REMOVE FAILURE extendedCacheEverything
- PG_VERSION=9.4
- QUERY_MODE=extendedCacheEverything
- - COVERAGE=Y
+ - COVERAGE=N
include:
- jdk: oraclejdk8
env: RUN_CHECKSTYLE=true
@@ -121,7 +122,7 @@ matrix:
env:
- PG_VERSION=9.4
- QUERY_MODE=extendedCacheEverything
- - COVERAGE=Y
+ - COVERAGE=N
- jdk: openjdk7
sudo: required
addons:
@@ -130,6 +131,7 @@ matrix:
- PG_VERSION=9.2
- ZULU_JDK=7
- MCENTRAL=Y
+ - COVERAGE=Y
- jdk: openjdk6
sudo: required
addons:
[parent: 405f14eefc9d]