Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 1 | language: java |
Tatu Saloranta | 4ba77f5 | 2016-01-28 21:49:09 -0800 | [diff] [blame] | 2 | |
| 3 | # Since Jackson 2.7, build requires jdk7, although module itself works on jdk6 still (for now) |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 4 | jdk: |
Tatu Saloranta | 84bbd8e | 2017-09-06 19:43:15 -0700 | [diff] [blame] | 5 | - openjdk7 |
| 6 | - openjdk8 |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 7 | |
| 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 |
| 10 | before_install: "git clone -b travis `git config --get remote.origin.url` target/travis" |
Tatu Saloranta | 975e360 | 2016-10-18 14:10:20 -0700 | [diff] [blame] | 11 | after_success: |
| 12 | - "mvn source:jar javadoc:jar deploy --settings target/travis/settings.xml" |
Tatu Saloranta | e8de1a5 | 2016-10-19 12:39:18 -0700 | [diff] [blame] | 13 | - "mvn -B cobertura:cobertura coveralls:report" |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 14 | |
| 15 | # whitelist |
| 16 | branches: |
| 17 | only: |
| 18 | - master |
Tatu Saloranta | 2acac95 | 2018-01-05 13:58:21 -0800 | [diff] [blame] | 19 | - "2.9" |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 20 | |
| 21 | env: |
| 22 | global: |
Christopher Currie | 223ceda | 2014-03-28 21:47:17 -0700 | [diff] [blame] | 23 | - secure: "ZIFMeNzZCvLYWICiUyHFSm8Ypz6lYFbF/+LGz6a+Sh8B9tSnvYvlrE4gSFJj3NzRWY0RG/vizoyFEpVgxOnzXDMLuuy/dreupnHR1FfVmiaiceK4JHRwAzl0lQzr2hdVwJbqpX0GfrxKmbg8Jvv9WPKtfM6X4167ElVj4O/8IRc=" |
| 24 | - secure: "VOC/J8eFbM2OeysBp0Gx0G73MySRATCoN7hc9Ok0kJXE/dbE/2KOoFlTwwxUgErwJXkjJKKXafYcbq/22S7wkaoDW5XAvplSu3skxdE0NRGVzozcDMXO5UoGlt9Ti4XIBMCvy7bB/NO+J5IgNedCtcNnBsrGZCdodW3DTYtqQLs=" |