2018-02-15 09:53:39 -05:00
|
|
|
language: java
|
2018-02-17 01:55:05 -05:00
|
|
|
install: true
|
2019-06-20 14:51:06 -04:00
|
|
|
jdk:
|
|
|
|
- openjdk8
|
2020-06-05 11:06:48 -04:00
|
|
|
- openjdk11
|
|
|
|
- openjdk14
|
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
|
2020-04-21 17:24:14 -04:00
|
|
|
- mvn -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Pfast-tests -Pextra-tests -Ptests-CI -B install -q
|
2018-04-17 13:47:21 -04:00
|
|
|
- cd examples
|
|
|
|
- mvn install -Prelease install -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-*
|