You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2015/11/23 17:28:05 UTC

nifi git commit: Adding a .travis.yml to provide CI and adding an exclusion for this file in the RAT check configuration

Repository: nifi
Updated Branches:
  refs/heads/travis-ci [created] 989c10930


Adding a .travis.yml to provide CI and adding an exclusion for this file in the RAT check configuration


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/989c1093
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/989c1093
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/989c1093

Branch: refs/heads/travis-ci
Commit: 989c10930de6be0ac4f9f3472cc1fd63937dcf52
Parents: b74617b
Author: Aldrin Piri <al...@apache.org>
Authored: Thu Nov 12 12:12:32 2015 -0500
Committer: Aldrin Piri <al...@apache.org>
Committed: Sun Nov 22 15:04:29 2015 -0500

----------------------------------------------------------------------
 .travis.yml | 14 ++++++++++++++
 pom.xml     |  1 +
 2 files changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/989c1093/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..3a6324d
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,14 @@
+language: java
+script: mvn clean install -Pcontrib-check
+
+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

http://git-wip-us.apache.org/repos/asf/nifi/blob/989c1093/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0708812..114847c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1330,6 +1330,7 @@
                         <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>