blob: 830bbdade969485b8bca373ca95a1273eea7d717 [file] [log] [blame]
Christopher Currie7d0445b2014-02-17 21:03:27 -08001language: java
Tatu Saloranta4ba77f52016-01-28 21:49:09 -08002
Tatu Salorantafa4898d2019-11-26 12:45:40 -08003git:
4 quiet: true
5 submodules: false
6
Tatu Salorantafdafaf02019-10-04 19:50:44 -07007# Since Jackson 2.10 build requires JDK 8 even if only JDK 7 runtime
Tatu Salorantaa6d82922020-05-23 11:52:43 -07008# But we also want to test against newer LTS versions
Tatu Saloranta15ba7c62020-07-08 14:10:15 -07009# 08-Jul-2020, tatu: can not yet enable JDK14 due to new Record tests failing
Christopher Currie7d0445b2014-02-17 21:03:27 -080010jdk:
Tatu Saloranta84bbd8e2017-09-06 19:43:15 -070011 - openjdk8
Tatu Salorantaa6d82922020-05-23 11:52:43 -070012 - openjdk11
Christopher Currie7d0445b2014-02-17 21:03:27 -080013
Tatu Saloranta7e8a5202019-11-26 14:01:11 -080014# 2019-11-26, tatu: Let's try caching Maven dependencies
15cache:
16 directories:
17 - $HOME/.m2
18
Christopher Currie7d0445b2014-02-17 21:03:27 -080019# Below this line is configuration for deploying to the Sonatype OSS repo
Tatu Saloranta29396b12019-11-26 13:42:07 -080020# https://knowm.org/configure-travis-ci-to-deploy-snapshots/
Christopher Currie7d0445b2014-02-17 21:03:27 -080021before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
Tatu Salorantac1f2e4c2020-07-23 20:55:50 -070022script: "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && mvn -B source:jar deploy --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml"
Christopher Currie7d0445b2014-02-17 21:03:27 -080023
24# whitelist
25branches:
26 only:
27 - master
Tatu Saloranta8eb15fd2020-04-28 16:46:24 -070028 - "2.12"
Christopher Currie7d0445b2014-02-17 21:03:27 -080029
30env:
31 global:
Christopher Currie223ceda2014-03-28 21:47:17 -070032 - secure: "ZIFMeNzZCvLYWICiUyHFSm8Ypz6lYFbF/+LGz6a+Sh8B9tSnvYvlrE4gSFJj3NzRWY0RG/vizoyFEpVgxOnzXDMLuuy/dreupnHR1FfVmiaiceK4JHRwAzl0lQzr2hdVwJbqpX0GfrxKmbg8Jvv9WPKtfM6X4167ElVj4O/8IRc="
33 - secure: "VOC/J8eFbM2OeysBp0Gx0G73MySRATCoN7hc9Ok0kJXE/dbE/2KOoFlTwwxUgErwJXkjJKKXafYcbq/22S7wkaoDW5XAvplSu3skxdE0NRGVzozcDMXO5UoGlt9Ti4XIBMCvy7bB/NO+J5IgNedCtcNnBsrGZCdodW3DTYtqQLs="