Skip to content

Commit d0e4f92

Browse files
committed
Update Travis configuration
This will hopefully reduce the need for future en masse updates.
1 parent 54d6b43 commit d0e4f92

3 files changed

Lines changed: 5 additions & 14 deletions

File tree

‎.travis.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: java
22
jdk: oraclejdk8
33
branches:
4-
only: master
4+
only:
5+
- master
6+
- "/.*-[0-9]+\\..*/"
57
install: true
68
script: ".travis/build.sh"
7-
after_success: ".travis/notify.sh Travis-Success"
8-
after_failure: ".travis/notify.sh Travis-Failure"
99
env:
1010
global:
1111
- secure: Ri4tQYEcUCy2kJiAIy0OdbceLYbuiYY+J0UnN3dJDY/GEBceFfQRh+SPyXPIyDL+udxcMBJu3EO1KV3HsF8VZF5I/Bs3FkqMwMO9Gxvs3eRQt1uHlNt1gCP+jANxCa+KrR3W2wqXK9DCVd9RK36colvHSLppuax/lvOltPvBxpPshiH5e2TBM80ambbEPybAj2hLfiXlsZXFUBfNs+vywI6eZUdvKNFVg4HATYkmy1kcJ0RhDwCXJDGCAIb8yzTyR0+XiS7lPe5oLo6wPrquvwor16XFXY8eZ5dzzcZuXshzm2lIKlq0NDtZUjJeczjOPPFzS2Dt/Zf+ZMRYQUt1wVzm11vrFbg1RXubD9Wj/x/81iGj4spOs9ZY7AEOw2CtAvXq2gi2hkeZntUhTYeSeFwwkS9/rV/aPvIZ9y5e2HhO1HYAPTTZHydRMT9cwrTmKiWcfvb/p2i3KrYSTXBZM/A+sACk/OZE8dHeWycAlgW2/ggRIQewBpHWdMKDTSetLH4Il4j4kC5ao7e2jaHKp3n1W1QdJ80zYOySnvNrp3rYjNJir9IcQwlq6c4hs+yrShe7HfPNfPmtT8YmprqIbXco10H2BxRJmqvUUO9jYakz4D757daDyMa6a1Ay8CMrWR+pDoruDrv9mlqFtn46A7EkiZ/P5lzT+74kpEQlo9o=

‎.travis/build.sh‎

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

‎.travis/notify.sh‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)