We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d6f5c commit a587268Copy full SHA for a587268
.travis/build.sh
@@ -1,7 +1,10 @@
1
#!/bin/sh
2
dir="$(dirname "$0")"
3
-test "$TRAVIS_SECURE_ENV_VARS" = true \
+if [ "$TRAVIS_SECURE_ENV_VARS" = true \
4
-a "$TRAVIS_PULL_REQUEST" = false \
5
- -a "$TRAVIS_BRANCH" = master &&
6
- mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml" ||
+ -a "$TRAVIS_BRANCH" = master ]
+then
7
+ mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml"
8
+else
9
mvn install
10
+fi
0 commit comments