Skip to content

Commit 125015b

Browse files
committed
Update Travis configuration
This will hopefully reduce the need for future en masse updates.
1 parent 273f499 commit 125015b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
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"
9+
env:
10+
global:

.travis/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/sh
2-
mvn install
2+
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/travis-build.sh
3+
sh travis-build.sh

0 commit comments

Comments
 (0)