43 lines
2.0 KiB
YAML
43 lines
2.0 KiB
YAML
|
language: java
|
||
|
|
||
|
notifications:
|
||
|
email:
|
||
|
recipients:
|
||
|
- google-java-format-dev+ci@google.com
|
||
|
on_success: change
|
||
|
on_failure: always
|
||
|
|
||
|
jdk:
|
||
|
- openjdk11
|
||
|
- openjdk14
|
||
|
- openjdk-ea
|
||
|
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- jdk: openjdk-ea
|
||
|
|
||
|
# see https://github.com/travis-ci/travis-ci/issues/8408
|
||
|
before_install:
|
||
|
- unset _JAVA_OPTIONS
|
||
|
|
||
|
install: echo "The default Travis install script is being skipped!"
|
||
|
|
||
|
# use travis-ci docker based infrastructure
|
||
|
sudo: false
|
||
|
|
||
|
cache:
|
||
|
directories:
|
||
|
- $HOME/.m2
|
||
|
|
||
|
script:
|
||
|
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||
|
- mvn test -B
|
||
|
|
||
|
env:
|
||
|
global:
|
||
|
- secure: KkUX74NDDk95WR60zwN6x6pz49KAfR0zUu1thxl8Kke0+WVoIv1EBo7/e4ZXTdBKxlzQCX9Aa0OlIyUlhGJeuNIGtX16lcNyZNmKSacfrT68MpZqi+nAiYp8tnOyW/zuI+shSKHkGQOFq6c9KTtR9vG8kjr1Q9dNl/H5QjGaG1ZMiU/mGH9ompf+0nQTMDLKaEWV+SpKGjK5U1Zs2p08I9KKePbZoi9L2oAw5cH9wW8Q3pQJds6Rkwy9aecxRd4xmTza7Lb04dmByjqY8gsIjrTN0onOndBmLKTHiH5NVLKf0ilEVGiMQ1x4eCQolcRpGzxdTTKI0ahiWS59UABVoy1sXYqkIbZjpmMuGhHvbRir7YEXaG8LRUAxdWd9drJfvKQeBphQlIJKwajHSiMAdc9zisQg1UW75HSGKoPDHpzq+P7YBil2PUjk+5yUy5OytX6IebFT4KdeCO2ayu338yqb2t8q98elMoD5jwFVD0tpkLQ6xsYodClSGfMCVfP2zTkB7c4sHZV7tJS68CiN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