Skip to content

Commit 7289dc7

Browse files
authored
Merge pull request #5 from ctrueden/update-travis
Update Travis configuration
2 parents 273f499 + 86132e3 commit 7289dc7

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
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

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>org.scijava</groupId>
1010
<artifactId>pom-scijava</artifactId>
11-
<version>16.1.0</version>
11+
<version>17.1.1</version>
1212
<relativePath />
1313
</parent>
1414

@@ -82,6 +82,9 @@
8282
<main-class>org.scijava.batch.BatchProcessor</main-class>
8383
<license.licenseName>bsd_2</license.licenseName>
8484
<license.copyrightOwners>N/A</license.copyrightOwners>
85+
86+
<!-- NB: Deploy releases to the ImageJ Maven repository. -->
87+
<releaseProfiles>deploy-to-imagej</releaseProfiles>
8588
</properties>
8689

8790
<repositories>

0 commit comments

Comments
 (0)