Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
67: Build on Travis MacOSX only on pull requests
- Loading branch information
1 parent
a39e43f
commit 3793dc1
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
set -ev | ||
if [ "$TRAVIS_OS_NAME" == "osx" ]; then | ||
if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then | ||
echo "Build on MacOSX: Pull Request" | ||
mvn -f releng/it.xsemantics.releng/pom.xml clean verify -U -Dfindbugs.skip=true | ||
else | ||
echo "Skipping build on MacOSX for standard commit" | ||
fi | ||
else | ||
echo "Build on Linux" | ||
mvn -f releng/it.xsemantics.releng/pom.xml clean verify -U -Dfindbugs.skip=true -Pjacoco-report coveralls:report | ||
fi |