activemq-artemis/.travis.yml

34 lines
1.2 KiB
YAML
Raw Normal View History

2018-02-15 09:53:39 -05:00
language: java
install: true
matrix:
include:
- os: linux
jdk: openjdk11
env:
- EXAMPLES_PROFILE="release"
- os: linux
2022-07-04 04:46:48 -04:00
jdk: openjdk17
env:
- EXAMPLES_PROFILE="examples,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 -s .github/maven-settings.xml -ntp -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Dmaven.test.redirectTestOutputToFile=true -Derrorprone -Pdev -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh -B install
- cd examples
- mvn -s ../.github/maven-settings.xml verify -P${EXAMPLES_PROFILE} -B -q
2018-02-15 09:53:39 -05:00
cache:
directories:
- $HOME/.m2
before_cache:
2018-03-09 12:39:41 -05:00
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
- rm -rf $HOME/.m2/repository/org/apache/activemq/*-artemis
- rm -rf $HOME/.m2/repository/org/apache/activemq/examples