mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-06 10:09:01 +00:00
2e2cd1f073
Updates parent pom, various plugins or deps, tidies up inconsistent versions and consolidates to inherited version where possible, define properties for some versions where not. Disables some problematic tests on JDK16+ for now. Drops DS test dep back 1 version to remove a specific breakage affecting multiple tests/modules, introduced after its upgrade in commit 9e70b263686ad6f0445eecf0e98dbcbf73833302.
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
language: java
|
|
install: true
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
jdk: openjdk8
|
|
env:
|
|
- EXAMPLES_PROFILE="release"
|
|
- os: linux
|
|
jdk: openjdk11
|
|
env:
|
|
- EXAMPLES_PROFILE="noRun"
|
|
- os: linux
|
|
jdk: openjdk16
|
|
env:
|
|
- EXAMPLES_PROFILE="noRun"
|
|
|
|
# clean out Artemis artifacts from the cache
|
|
before_install:
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|
|
|
|
# use 'install' so smoke-tests will work
|
|
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run
|
|
# By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
|
|
script:
|
|
- set -e
|
|
- mvn -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Derrorprone -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh -B install -q
|
|
- cd examples
|
|
- mvn install -P${EXAMPLES_PROFILE} -B -q
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
before_cache:
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|