You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2018/03/28 20:07:57 UTC

activemq-artemis git commit: NO-JIRA Adding Travis config on 1.x

Repository: activemq-artemis
Updated Branches:
  refs/heads/1.x 9d1f762d4 -> f0729f1c6


NO-JIRA Adding Travis config on 1.x


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/f0729f1c
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/f0729f1c
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/f0729f1c

Branch: refs/heads/1.x
Commit: f0729f1c6280042c7b92f12d9e836043a7f745ff
Parents: 9d1f762
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Mar 28 12:27:54 2018 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Mar 28 12:48:23 2018 -0400

----------------------------------------------------------------------
 .travis.yml | 16 ++++++++++++++++
 pom.xml     |  8 +++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f0729f1c/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..582754c
--- /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-*

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f0729f1c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6698f16..6ce7ff2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -165,6 +165,10 @@
       <directory-version>1.5.7</directory-version>
       <cdi-api.version>1.2</cdi-api.version>
       <geronimo-annotation_1.2_spec.version>1.0</geronimo-annotation_1.2_spec.version>
+
+      <!-- Ignore failed tests by default because there are "known" failures in the full test-suite.
+           This will be set to false for the "fast-tests" profile as none of those tests should fail. -->
+      <testFailureIgnore>true</testFailureIgnore>
    </properties>
 
    <scm>
@@ -930,6 +934,7 @@
             <skipExtraTests>true</skipExtraTests>
             <skipStyleCheck>false</skipStyleCheck>
             <skipLicenseCheck>false</skipLicenseCheck>
+            <testFailureIgnore>false</testFailureIgnore>
          </properties>
       </profile>
       <profile>
@@ -1317,7 +1322,7 @@
                <version>2.18.1</version>
                <configuration>
                   <forkMode>once</forkMode>
-                  <testFailureIgnore>true</testFailureIgnore>
+                  <testFailureIgnore>${testFailureIgnore}</testFailureIgnore>
                   <runOrder>alphabetical</runOrder>
                   <redirectTestOutputToFile>false</redirectTestOutputToFile>
                   <argLine>${activemq-surefire-argline}</argLine>
@@ -1489,6 +1494,7 @@
                <reportFile>${activemq.basedir}/ratReport.txt</reportFile>
                <skip>${skipLicenseCheck}</skip>
                <excludes>
+                  <exclude>.travis.yml</exclude>
                   <exclude>**/*.txt</exclude>
                   <exclude>**/*.md</exclude>
                   <exclude>etc/ide-settings/**</exclude>