2018-02-15 09:53:39 -05:00
|
|
|
language: java
|
2018-02-17 01:55:05 -05:00
|
|
|
install: true
|
2020-06-15 06:27:17 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
jdk: openjdk8
|
|
|
|
env:
|
|
|
|
- EXAMPLES_PROFILE="release"
|
|
|
|
- os: linux
|
|
|
|
jdk: openjdk11
|
|
|
|
env:
|
|
|
|
- EXAMPLES_PROFILE="noRun"
|
|
|
|
- os: linux
|
2021-05-17 04:18:19 -04:00
|
|
|
jdk: openjdk16
|
2020-06-15 06:27:17 -04:00
|
|
|
env:
|
|
|
|
- EXAMPLES_PROFILE="noRun"
|
2018-02-21 13:10:40 -05:00
|
|
|
|
2018-03-09 11:31:37 -05:00
|
|
|
# clean out Artemis artifacts from the cache
|
2018-10-08 07:31:40 -04:00
|
|
|
before_install:
|
|
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|
2018-03-09 11:31:37 -05:00
|
|
|
|
2018-02-21 13:10:40 -05:00
|
|
|
# use 'install' so smoke-tests will work
|
|
|
|
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run
|
2019-02-27 12:34:43 -05:00
|
|
|
# By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
|
2018-04-17 13:47:21 -04:00
|
|
|
script:
|
|
|
|
- set -e
|
2021-08-17 05:19:57 -04:00
|
|
|
- mvn -ntp -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Dmaven.test.redirectTestOutputToFile=true -Derrorprone -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh -B install
|
2018-04-17 13:47:21 -04:00
|
|
|
- cd examples
|
2020-06-15 06:27:17 -04:00
|
|
|
- mvn install -P${EXAMPLES_PROFILE} -B -q
|
2018-02-21 13:10:40 -05:00
|
|
|
|
2018-02-15 09:53:39 -05:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-02-17 01:55:05 -05:00
|
|
|
- $HOME/.m2
|
2020-06-05 11:06:48 -04:00
|
|
|
before_cache:
|
2018-03-09 12:39:41 -05:00
|
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|