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 | |
Tatu Saloranta | fa4898d | 2019-11-26 12:45:40 -0800 | [diff] [blame] | 3 | git: |
| 4 | quiet: true |
| 5 | submodules: false |
| 6 | |
Tatu Saloranta | 4ba77f5 | 2016-01-28 21:49:09 -0800 | [diff] [blame] | 7 | # Since Jackson 2.7, build requires jdk7, although module itself works on jdk6 still (for now) |
Tatu Saloranta | 1e61565 | 2019-03-05 10:33:59 -0800 | [diff] [blame] | 8 | # and since 2.10, will require jdk8 for build |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 9 | jdk: |
Tatu Saloranta | 84bbd8e | 2017-09-06 19:43:15 -0700 | [diff] [blame] | 10 | - openjdk8 |
Tatu Saloranta | 1e61565 | 2019-03-05 10:33:59 -0800 | [diff] [blame] | 11 | - oraclejdk11 |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 12 | |
Tatu Saloranta | 7e8a520 | 2019-11-26 14:01:11 -0800 | [diff] [blame] | 13 | # 2019-11-26, tatu: Let's try caching Maven dependencies |
| 14 | cache: |
| 15 | directories: |
| 16 | - $HOME/.m2 |
| 17 | |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 18 | # Below this line is configuration for deploying to the Sonatype OSS repo |
Tatu Saloranta | 29396b1 | 2019-11-26 13:42:07 -0800 | [diff] [blame] | 19 | # https://knowm.org/configure-travis-ci-to-deploy-snapshots/ |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 20 | 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] | 21 | after_success: |
Tatu Saloranta | 5fd1355 | 2019-11-26 14:21:50 -0800 | [diff] [blame] | 22 | - "mvn -B source:jar javadoc:jar deploy --settings target/travis/settings.xml" |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 23 | |
| 24 | # whitelist |
| 25 | branches: |
| 26 | only: |
| 27 | - master |
Tatu Saloranta | 40b3838 | 2018-06-15 23:10:40 -0700 | [diff] [blame] | 28 | - "2.10" |
Christopher Currie | 7d0445b | 2014-02-17 21:03:27 -0800 | [diff] [blame] | 29 | |
| 30 | env: |
| 31 | global: |
Christopher Currie | 223ceda | 2014-03-28 21:47:17 -0700 | [diff] [blame] | 32 | - secure: "ZIFMeNzZCvLYWICiUyHFSm8Ypz6lYFbF/+LGz6a+Sh8B9tSnvYvlrE4gSFJj3NzRWY0RG/vizoyFEpVgxOnzXDMLuuy/dreupnHR1FfVmiaiceK4JHRwAzl0lQzr2hdVwJbqpX0GfrxKmbg8Jvv9WPKtfM6X4167ElVj4O/8IRc=" |
| 33 | - secure: "VOC/J8eFbM2OeysBp0Gx0G73MySRATCoN7hc9Ok0kJXE/dbE/2KOoFlTwwxUgErwJXkjJKKXafYcbq/22S7wkaoDW5XAvplSu3skxdE0NRGVzozcDMXO5UoGlt9Ti4XIBMCvy7bB/NO+J5IgNedCtcNnBsrGZCdodW3DTYtqQLs=" |