Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (27 sloc) 2.15 KB
language: java
language: java
git:
depth: 3
sudo: required
# "dist" is specified for oraclejdk7 because the new images (Ubuntu
# Trusty 14.04) do not support them. Specifying "group: deprecated-2017Q3" does
# not help.
# See <https://github.com/travis-ci/travis-ci/issues/7884#issuecomment-308451879>
# and <https://blog.travis-ci.com/2017-08-29-trusty-image-updates>.
matrix:
include:
- jdk: oraclejdk7
dist: precise
- jdk: openjdk7
- jdk: oraclejdk8
env: DEPLOY=true
- jdk: oraclejdk9
install: mvn install -DskipTests=true
script: mvn test -Dassembly.skipAssembly=true -B
after_success:
- test "$DEPLOY" = true -a "$TRAVIS_PULL_REQUEST" = false -a "$TRAVIS_BRANCH" = master
&& mvn source:jar deploy --settings .travis-settings.xml -DskipTests=true -B
env:
global:
- secure: cV/cG1G/M73A13bfPalNhhChC26kNZyCWkU6QuPReuncRSpUckNYvAxP2hrwrnQ4H2MXDjom4tqwheCGCTdaWg2viti7bvgZdOHURm3Qsno5DtFvKO041FgXEKNNmf4si8Ds2TWmVdJ1kt5hEHjO+hahT7YYyw9Vf52s6K7Qgr0xFvElrFoKCeHEItsiDS6FDpIIznceUipdPwruStnn2cFBju9YaN4fc8OuuTYXcaQNZ9AgqqSEPg06dck5YveKSsa5RDzOT9S/+aF2koWFWMGxl0o3lnq6QFRI2qN0frTGp5ovnVXSaqioAJcGLJxv7HMs067r0jn/W6JDauE4dkBkWYm1Uh22rWAUbIL/Nb9skU5LwSqUIdV4jagC39iVAIun0vcef5KhGQ2jwG3OngTIlL0TqPEWWAJyBroU+Ydc+mj/CAHBRN3OaH8qG+wXSdigEt9v3VaRGqhogir/zNEOH05S5kOucZQjNA3Gmik7UxcHXGQyp9K6u2X5nZpxW382I+6UXUYaozSZY9Ch/01ljVUI3WWSxkD1Jq31TYLSs1amLqTUmkKjyXO8pd45BxQCw+k5gjTroCXJW9L1XLkeheYvf4qKDkNbMgM59L78L8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