mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
language: java
|
|
install: true
|
|
script: mvn clean install -B -V
|
|
|
|
matrix:
|
|
include:
|
|
- jdk: oraclejdk8
|
|
after_success:
|
|
- mvn jacoco:report && bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
|
|
dist: trusty
|
|
- jdk: openjdk11
|
|
# There is an issue with the documentation so skip it
|
|
script: mvn -B -V clean install -DskipDistribution=true
|
|
- jdk: openjdk13
|
|
# There is an issue with the documentation so skip it
|
|
script: mvn -B -V clean install -DskipDistribution=true
|
|
- jdk: openjdk14
|
|
# There is an issue with the documentation so skip it
|
|
script: mvn -B -V clean install -DskipDistribution=true
|
|
# There is an issue with the documentation so skip it
|
|
- jdk: openjdk-ea
|
|
script: mvn -B -V clean install -DskipDistribution=true
|
|
allow_failures:
|
|
- jdk: openjdk-ea
|
|
deploy:
|
|
provider: script
|
|
script: "test ${TRAVIS_TEST_RESULT} -eq 0 && mvn -s etc/travis-settings.xml -DskipTests=true -DskipDistribution=true deploy"
|
|
skip_cleanup: true
|
|
on:
|
|
repo: mapstruct/mapstruct
|
|
branch: master
|
|
jdk: oraclejdk8
|
|
|
|
sudo: required
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|