Skip to content

Commit 4990fc0

Browse files
committedApr 26, 2017
Fix the Travis configuration
Without this, failed builds of master trigger another "mvn install". See: https://gist.github.com/ctrueden/ae0f024a0cdf2cb53c915d75b0759553
1 parent f7457f0 commit 4990fc0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎.travis/build.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/bin/sh
22
dir="$(dirname "$0")"
3-
test "$TRAVIS_SECURE_ENV_VARS" = true \
3+
if [ "$TRAVIS_SECURE_ENV_VARS" = true \
44
-a "$TRAVIS_PULL_REQUEST" = false \
5-
-a "$TRAVIS_BRANCH" = master &&
6-
mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml" ||
5+
-a "$TRAVIS_BRANCH" = master ]
6+
then
7+
mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml"
8+
else
79
mvn install
10+
fi

0 commit comments

Comments
 (0)
Please sign in to comment.