blob: 9bc8d24ad6a69d5372b93b61797601ce9eea53ca [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 Saloranta4ba77f52016-01-28 21:49:09 -08007# Since Jackson 2.7, build requires jdk7, although module itself works on jdk6 still (for now)
Tatu Saloranta1e615652019-03-05 10:33:59 -08008# and since 2.10, will require jdk8 for build
Christopher Currie7d0445b2014-02-17 21:03:27 -08009jdk:
Tatu Saloranta84bbd8e2017-09-06 19:43:15 -070010 - openjdk8
Tatu Saloranta1e615652019-03-05 10:33:59 -080011 - oraclejdk11
Christopher Currie7d0445b2014-02-17 21:03:27 -080012
Tatu Saloranta7e8a5202019-11-26 14:01:11 -080013# 2019-11-26, tatu: Let's try caching Maven dependencies
14cache:
15 directories:
16 - $HOME/.m2
17
Christopher Currie7d0445b2014-02-17 21:03:27 -080018# Below this line is configuration for deploying to the Sonatype OSS repo
Tatu Saloranta29396b12019-11-26 13:42:07 -080019# https://knowm.org/configure-travis-ci-to-deploy-snapshots/
Christopher Currie7d0445b2014-02-17 21:03:27 -080020before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
Tatu Saloranta975e3602016-10-18 14:10:20 -070021after_success:
22 - "mvn source:jar javadoc:jar deploy --settings target/travis/settings.xml"
Tatu Salorantae8de1a52016-10-19 12:39:18 -070023 - "mvn -B cobertura:cobertura coveralls:report"
Christopher Currie7d0445b2014-02-17 21:03:27 -080024
25# whitelist
26branches:
27 only:
28 - master
Tatu Saloranta40b38382018-06-15 23:10:40 -070029 - "2.10"
Christopher Currie7d0445b2014-02-17 21:03:27 -080030
31env:
32 global:
Christopher Currie223ceda2014-03-28 21:47:17 -070033 - secure: "ZIFMeNzZCvLYWICiUyHFSm8Ypz6lYFbF/+LGz6a+Sh8B9tSnvYvlrE4gSFJj3NzRWY0RG/vizoyFEpVgxOnzXDMLuuy/dreupnHR1FfVmiaiceK4JHRwAzl0lQzr2hdVwJbqpX0GfrxKmbg8Jvv9WPKtfM6X4167ElVj4O/8IRc="
34 - secure: "VOC/J8eFbM2OeysBp0Gx0G73MySRATCoN7hc9Ok0kJXE/dbE/2KOoFlTwwxUgErwJXkjJKKXafYcbq/22S7wkaoDW5XAvplSu3skxdE0NRGVzozcDMXO5UoGlt9Ti4XIBMCvy7bB/NO+J5IgNedCtcNnBsrGZCdodW3DTYtqQLs="