NO-JIRA Adding Travis config on 1.x

This commit is contained in:
Clebert Suconic 2018-03-28 12:27:54 -04:00
parent 9d1f762d43
commit f0729f1c62
2 changed files with 23 additions and 1 deletions

16
.travis.yml Normal file
View File

@ -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-*

View File

@ -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>