Skip to content
Snippets Groups Projects
Commit c3c381ca authored by Curtis Rueden's avatar Curtis Rueden
Browse files

Fix the Travis configuration

Without this, failed builds of master trigger another "mvn install".

See: https://gist.github.com/ctrueden/ae0f024a0cdf2cb53c915d75b0759553
parent 42998c78
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
dir="$(dirname "$0")" dir="$(dirname "$0")"
test "$TRAVIS_SECURE_ENV_VARS" = true \ if [ "$TRAVIS_SECURE_ENV_VARS" = true \
-a "$TRAVIS_PULL_REQUEST" = false \ -a "$TRAVIS_PULL_REQUEST" = false \
-a "$TRAVIS_BRANCH" = master && -a "$TRAVIS_BRANCH" = master ]
mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml" || then
mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml"
else
mvn install mvn install
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment