blob: b41ba2667645c3fc35298d8f3ef3a369ccd96392 [file] [log] [blame]
Christopher Currie7d0445b2014-02-17 21:03:27 -08001language: java
Tatu Saloranta4ba77f52016-01-28 21:49:09 -08002
3# Since Jackson 2.7, build requires jdk7, although module itself works on jdk6 still (for now)
Christopher Currie7d0445b2014-02-17 21:03:27 -08004jdk:
Christopher Currieebfa5d82014-10-13 22:25:35 -07005 - oraclejdk7
Tatu Salorantad5943a82016-01-28 21:51:25 -08006 - oraclejdk8
Christopher Currie7d0445b2014-02-17 21:03:27 -08007
8# Below this line is configuration for deploying to the Sonatype OSS repo
9# http://blog.xeiam.com/2013/05/configure-travis-ci-to-deploy-snapshots.html
10before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
Tatu Saloranta975e3602016-10-18 14:10:20 -070011after_success:
12 - "mvn source:jar javadoc:jar deploy --settings target/travis/settings.xml"
13 - "mvn cobertura:cobertura coveralls:report"
Christopher Currie7d0445b2014-02-17 21:03:27 -080014
15# whitelist
16branches:
17 only:
18 - master
Tatu Saloranta0c352082016-02-23 16:56:54 -080019 - "2.7"
Tatu Salorantadee8ba92016-09-14 22:41:24 -070020 - "2.8"
Christopher Currie7d0445b2014-02-17 21:03:27 -080021
22env:
23 global:
Christopher Currie223ceda2014-03-28 21:47:17 -070024 - secure: "ZIFMeNzZCvLYWICiUyHFSm8Ypz6lYFbF/+LGz6a+Sh8B9tSnvYvlrE4gSFJj3NzRWY0RG/vizoyFEpVgxOnzXDMLuuy/dreupnHR1FfVmiaiceK4JHRwAzl0lQzr2hdVwJbqpX0GfrxKmbg8Jvv9WPKtfM6X4167ElVj4O/8IRc="
25 - secure: "VOC/J8eFbM2OeysBp0Gx0G73MySRATCoN7hc9Ok0kJXE/dbE/2KOoFlTwwxUgErwJXkjJKKXafYcbq/22S7wkaoDW5XAvplSu3skxdE0NRGVzozcDMXO5UoGlt9Ti4XIBMCvy7bB/NO+J5IgNedCtcNnBsrGZCdodW3DTYtqQLs="