NIFI-1211 Adding a .travis.yml to provide CI and adding an exclusion for this file in the RAT check configuration. Adding Travis CI build status graphic to README

This commit is contained in:
Aldrin Piri 2015-11-12 12:12:32 -05:00
parent fb65cf1235
commit 854c667bd3
3 changed files with 18 additions and 1 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: java
sudo: false
os:
- linux
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
# Workaround for non-existent Maven repository as per: https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-131214465
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
script: mvn clean install -Pcontrib-check

View File

@ -12,7 +12,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
# Apache NiFi
# Apache NiFi [![Build Status](https://travis-ci.org/apache/nifi.svg)](https://travis-ci.org/apache/nifi)
Apache NiFi is an easy to use, powerful, and reliable system to process and distribute data.

View File

@ -1359,6 +1359,7 @@ language governing permissions and limitations under the License. -->
<exclude>nb-configuration.xml</exclude> <!-- courtesy excludes for netbeans users -->
<exclude>nbactions.xml</exclude> <!-- courtesy excludes for netbeans users -->
<exclude>DEPENDENCIES</exclude> <!-- auto generated file by apache's maven config while building sources.zip -->
<exclude>.travis.yml</exclude> <!-- Travis CI Build Descriptor File -->
</excludes>
</configuration>
<dependencies>