This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push: new 721ce2d Add openjdk17 to travis test, optimized test matrix to reduce test time. new cca17b4 Merge pull request #494 from Ivan-nikitko/TravisTest 721ce2d is described below commit 721ce2d9d011f059ee9ea524a1531a59720128bb Author: ivannikitka <nikitko.i...@gmail.com> AuthorDate: Thu Jan 27 13:40:42 2022 +0300 Add openjdk17 to travis test, optimized test matrix to reduce test time. --- .travis.yml | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40f0270..62f5061 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,6 @@ services: env: jobs: - - DB_PROFILE=hsql - - DB_PROFILE=h2 - - DB_PROFILE=derby - DB_PROFILE=mysql-tc - DB_PROFILE=postgres-tc - DB_PROFILE=sqlserver-tc @@ -38,20 +35,40 @@ env: jdk: - openjdk8 - openjdk11 - - openjdk-ea + - openjdk17 script: - travis_wait 25 mvn verify -fae -q $EXCLUDE_MODULES -DcayenneTestConnection=$DB_PROFILE -DcayenneLogLevel=ERROR jobs: - allow_failures: - - jdk: openjdk-ea +# add hsql, h2 and derby databases to tests on openjdk8 +# To reduce the test time, add only postgress db on openjdk-ea include: + - env: DB_PROFILE=hsql + jdk: openjdk8 + - env: DB_PROFILE=h2 + jdk: openjdk8 + - env: DB_PROFILE=derby + jdk: openjdk8 + - jdk: openjdk-ea + env: DB_PROFILE=postgres-tc - stage: deploy script: mvn deploy -DskipTests --settings .travis-mvn-settings.xml jdk: openjdk8 if: type = push AND branch = master AND repo = apache/cayenne + allow_failures: + - jdk: openjdk-ea + +# prevent Travis from unnecessary checks with pull request + exclude: + - if: type = pull_request + jdk: openjdk11 + - if: type = pull_request + jdk: openjdk17 + - if: type = pull_request + jdk: openjdk-ea + # prevent Travis from unneeded "mvn install" run install: true