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 2018/08/07 18:28:08 UTC
nifi-minifi git commit: MINIFI-469 - support OSX in travis automated
builds
Repository: nifi-minifi
Updated Branches:
refs/heads/master 844389c86 -> dfab00a9c
MINIFI-469 - support OSX in travis automated builds
This closes #135.
Signed-off-by: Aldrin Piri <al...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi/commit/dfab00a9
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi/tree/dfab00a9
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi/diff/dfab00a9
Branch: refs/heads/master
Commit: dfab00a9c8b8b400f36a2ee679dd35b6384a0dcc
Parents: 844389c
Author: Dustin Rodrigues <du...@gmail.com>
Authored: Wed Aug 1 06:56:58 2018 -0400
Committer: Aldrin Piri <al...@apache.org>
Committed: Tue Aug 7 14:27:47 2018 -0400
----------------------------------------------------------------------
.travis.yml | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/dfab00a9/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 811a4c2..e5aba1a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,17 +1,19 @@
language: java
-os:
- - linux
+matrix:
+ include:
+ - os: linux
+ jdk: oraclejdk8
+ # before_install aids in a couple workarounds for issues within the Travis-CI environment
+ # 1. Workaround for buffer overflow issues with OpenJDK versions of java as per https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165135711
+ # 2. Workaround for non-existent Maven repository as per: https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-131214465
+ before_install:
+ - sudo hostname "$(hostname | cut -c1-63)"
+ - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
+ - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
+ - os: osx
+ osx_image: xcode9.2
-jdk:
- - oraclejdk8
-# before_install aids in a couple workarounds for issues within the Travis-CI environment
-# 1. Workaround for buffer overflow issues with OpenJDK versions of java as per https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165135711
-# 2. Workaround for non-existent Maven repository as per: https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-131214465
-before_install:
- - sudo hostname "$(hostname | cut -c1-63)"
- - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- - 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