mapstruct/.travis.yml
Filip Hrisafov 02a113b2d4
#1308 Switch to JUnit Jupiter and do not use Toolchains for the integration tests (#2013)
The CI should be setup to run on different Java versions, for which the integration tests are going to be run
2020-02-03 21:56:48 +01:00

35 lines
1011 B
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
# 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