From f0729f1c6280042c7b92f12d9e836043a7f745ff Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Wed, 28 Mar 2018 12:27:54 -0400 Subject: [PATCH] NO-JIRA Adding Travis config on 1.x --- .travis.yml | 16 ++++++++++++++++ pom.xml | 8 +++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..582754cb88 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +sudo: false +language: java +install: true + +# 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 +script: mvn -Pfast-tests -Pextra-tests -B install + +cache: + directories: + - $HOME/.m2 + before_cache: + - rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-* diff --git a/pom.xml b/pom.xml index 6698f16c68..6ce7ff25ce 100644 --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,10 @@ 1.5.7 1.2 1.0 + + + true @@ -930,6 +934,7 @@ true false false + false @@ -1317,7 +1322,7 @@ 2.18.1 once - true + ${testFailureIgnore} alphabetical false ${activemq-surefire-argline} @@ -1489,6 +1494,7 @@ ${activemq.basedir}/ratReport.txt ${skipLicenseCheck} + .travis.yml **/*.txt **/*.md etc/ide-settings/**