aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: ecf614b2e7288e4fc2cfce39ffd8cd140077b21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: java

git:
  quiet: true
  submodules: false

# Since Jackson 2.10 build requires JDK 8 even if only JDK 7 runtime
jdk:
  - openjdk8
  - oraclejdk11

# 2019-11-26, tatu: Let's try caching Maven dependencies
cache:
  directories:
    - $HOME/.m2

# Below this line is configuration for deploying to the Sonatype OSS repo
# https://knowm.org/configure-travis-ci-to-deploy-snapshots/
before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
after_success:
  - "mvn -B source:jar javadoc:jar deploy --settings target/travis/settings.xml"

# whitelist
branches:
  only:
    - master
    - "2.11"

env:
  global:
    - secure: "ZIFMeNzZCvLYWICiUyHFSm8Ypz6lYFbF/+LGz6a+Sh8B9tSnvYvlrE4gSFJj3NzRWY0RG/vizoyFEpVgxOnzXDMLuuy/dreupnHR1FfVmiaiceK4JHRwAzl0lQzr2hdVwJbqpX0GfrxKmbg8Jvv9WPKtfM6X4167ElVj4O/8IRc="
    - secure: "VOC/J8eFbM2OeysBp0Gx0G73MySRATCoN7hc9Ok0kJXE/dbE/2KOoFlTwwxUgErwJXkjJKKXafYcbq/22S7wkaoDW5XAvplSu3skxdE0NRGVzozcDMXO5UoGlt9Ti4XIBMCvy7bB/NO+J5IgNedCtcNnBsrGZCdodW3DTYtqQLs="