This repository was archived by the owner on Feb 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +44
-46
lines changed Expand file tree Collapse file tree 7 files changed +44
-46
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- dist : trusty
2
- sudo : false
3
-
4
1
language : java
5
2
jdk : oraclejdk8
6
-
7
- cache :
8
- directories :
9
- - ' $HOME/.m2/repository'
10
-
11
- install : " .ci/build.sh"
12
- script : " .ci/test.sh"
3
+ branches :
4
+ only : master
5
+ install : " .travis/build.sh"
6
+ script : " .travis/test.sh"
7
+ after_success : " .travis/notify.sh Travis-Success"
8
+ after_failure : " .travis/notify.sh Travis-Failure"
Original file line number Diff line number Diff line change
1
+ #! /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
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ curl -fs " https://jenkins.imagej.net/job/$1 /buildWithParameters?token=$TOKEN_NAME &repo=$TRAVIS_REPO_SLUG &commit=$TRAVIS_COMMIT &pr=$TRAVIS_PULL_REQUEST "
Original file line number Diff line number Diff line change
1
+ <settings >
2
+ <servers >
3
+ <server >
4
+ <id >imagej.releases</id >
5
+ <username >travis</username >
6
+ <password >${env.MAVEN_PASS}</password >
7
+ </server >
8
+ <server >
9
+ <id >imagej.snapshots</id >
10
+ <username >travis</username >
11
+ <password >${env.MAVEN_PASS}</password >
12
+ </server >
13
+ </servers >
14
+ </settings >
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ex
3
3
4
+ # Install Fiji
5
+
6
+ mkdir -p $IJ_PATH /
7
+ cd $HOME /
8
+ wget --no-check-certificate https://downloads.imagej.net/fiji/latest/fiji-linux64.zip
9
+ unzip fiji-linux64.zip > /dev/null 2>&1
10
+
11
+
12
+ # Install the package
13
+
14
+ cd $TRAVIS_BUILD_DIR /
15
+ mvn install -Pimagej --settings " .ci/test_settings.xml"
4
16
5
17
# Install python
6
18
@@ -32,5 +44,3 @@ jupyter kernelspec list
32
44
33
45
# Now run the test notebook
34
46
# jupyter nbconvert --execute --ExecutePreprocessor.timeout="60" --ExecutePreprocessor.kernel_name="scijava" "$TRAVIS_BUILD_DIR/notebooks/Test.ipynb"
35
-
36
-
File renamed without changes.
You can’t perform that action at this time.
0 commit comments