Skip to content
Permalink
Browse files

chore: skip CI builds for tags; skip Fedora and extendedCacheEverythi…

…ng jobs when building pull requests
  • Loading branch information
vlsi committed Jan 15, 2018
1 parent acb9bdd commit 3ba3b6334761909183334a3be3af0aa8dc4798da
Showing with 15 additions and 4 deletions.
  1. +9 −3 .travis.yml
  2. +6 −1 appveyor.yml
@@ -2,18 +2,23 @@ sudo: false
language: java
dist: trusty

branches:
except:
- /^tmp\/.*/
- /^REL.*/

stages:
- name: test
if: not branch =~ ^release/.*$ AND not branch =~ ^tmp/.*$
if: not branch =~ ^release\/.*$
- name: release
# releases pgjdbc for Java 8
# It does set release tag and update pom.xml versions
if: branch =~ ^release/.*$ AND not branch =~ ^tmp/.*$
if: branch =~ ^release\/.*$
- name: release_prev
# releases pgjdbc for Java 6, Java 7
# pgjdbc-jreX requires release pom.xml versions of the main project, so pgjdbc-jreX should be
# released after the release of the main version, thus second stage
if: branch =~ ^release/.*$ AND not branch =~ ^tmp/.*$
if: branch =~ ^release\/.*$

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
@@ -87,6 +92,7 @@ matrix:
- FEDORA_CI=Y
services:
- docker
if: type != pull_request
- jdk: oraclejdk9
addons:
postgresql: "9.6"
@@ -8,7 +8,12 @@ init:
- ps: Add-Content "c:\program files\postgresql\9.6\data\postgresql.conf" "max_replication_slots=10"
- ps: Add-Content "c:\program files\postgresql\9.6\data\pg_hba.conf" "host replication all 127.0.0.1/32 trust"

services:
branches:
except:
- /^tmp\/.*/
- /^REL.*/

services:
- postgresql96

before_build:

0 comments on commit 3ba3b63

Please sign in to comment.
You can’t perform that action at this time.