Skip to content

Commit 18ec55f

Browse files
committed
Travis: update .travis/build.sh
1 parent aedaa01 commit 18ec55f

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.travis/build.sh

100755100644
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
#!/bin/sh
2-
dir="$(dirname "$0")"
3-
if [ "$TRAVIS_SECURE_ENV_VARS" = true \
4-
-a "$TRAVIS_PULL_REQUEST" = false \
5-
-a "$TRAVIS_BRANCH" = master ]
6-
then
7-
mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml"
8-
else
9-
mvn install
10-
fi
2+
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/travis-build.sh
3+
sh travis-build.sh

0 commit comments

Comments
 (0)