• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1language: java
2
3git:
4  quiet: true
5  submodules: false
6
7# Since Jackson 2.10 build requires JDK 8 even if only JDK 7 runtime
8# But we also want to test against newer LTS versions
9# 08-Jul-2020, tatu: can not yet enable JDK14 due to new Record tests failing
10jdk:
11  - openjdk8
12  - openjdk11
13
14# 2019-11-26, tatu: Let's try caching Maven dependencies
15cache:
16  directories:
17    - $HOME/.m2
18
19# Below this line is configuration for deploying to the Sonatype OSS repo
20# https://knowm.org/configure-travis-ci-to-deploy-snapshots/
21before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
22script: "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && mvn -B source:jar deploy --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml"
23
24# whitelist
25branches:
26  only:
27    - master
28    - "2.12"
29
30env:
31  global:
32    - secure: "ZIFMeNzZCvLYWICiUyHFSm8Ypz6lYFbF/+LGz6a+Sh8B9tSnvYvlrE4gSFJj3NzRWY0RG/vizoyFEpVgxOnzXDMLuuy/dreupnHR1FfVmiaiceK4JHRwAzl0lQzr2hdVwJbqpX0GfrxKmbg8Jvv9WPKtfM6X4167ElVj4O/8IRc="
33    - secure: "VOC/J8eFbM2OeysBp0Gx0G73MySRATCoN7hc9Ok0kJXE/dbE/2KOoFlTwwxUgErwJXkjJKKXafYcbq/22S7wkaoDW5XAvplSu3skxdE0NRGVzozcDMXO5UoGlt9Ti4XIBMCvy7bB/NO+J5IgNedCtcNnBsrGZCdodW3DTYtqQLs="
34