Open tischi opened 3 years ago
@tischi I'll try to help soon. In the meantime, you can help speeding up the process by making sure that:
tests are passing even on systems that don't have a /Users/tischer
directory ;-)
declare dependencies properly, as reported by mvn dependency:analyze
:
[INFO] --- maven-dependency-plugin:3.1.2:analyze (default-cli) @ bigDataProcessor2 ---
[WARNING] Used undeclared dependencies found:
[WARNING] net.imglib2:imglib2-algorithm:jar:0.11.2:compile
[WARNING] net.imglib2:imglib2-ij:jar:2.0.0-beta-46:compile
[WARNING] net.imagej:imagej-common:jar:0.33.0:compile
[WARNING] com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile
[WARNING] com.google.code.gson:gson:jar:2.8.6:compile
[WARNING] commons-lang:commons-lang:jar:2.6:compile
[WARNING] mpicbg:mpicbg:jar:1.4.0:compile
[WARNING] org.scijava:ui-behaviour:jar:2.0.1:compile
[WARNING] ome:formats-bsd:jar:6.5.1:compile
[WARNING] sc.fiji:spim_data:jar:2.2.4:compile
[WARNING] sc.fiji:legacy-imglib1:jar:1.1.9:compile
[WARNING] org.scijava:scijava-ui-swing:jar:0.13.2:compile
[WARNING] org.openmicroscopy:ome-xml:jar:6.1.0:compile
[WARNING] cisd:jhdf5:jar:14.12.6:compile
[WARNING] net.imglib2:imglib2-ui:jar:2.0.1:compile
[WARNING] commons-io:commons-io:jar:2.7:compile
[WARNING] org.scijava:scijava-listeners:jar:1.0.0-beta-3:compile
[WARNING] net.imglib2:imglib2-realtransform:jar:3.0.0:compile
[WARNING] net.imglib2:imglib2-cache:jar:1.0.0-beta-13:compile
[WARNING] com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile
[WARNING] org.scijava:scijava-common:jar:2.83.3:compile
[WARNING] net.imagej:imagej:jar:2.1.0:compile
[WARNING] sc.fiji:fiji-lib:jar:2.1.2:compile
[WARNING] Unused declared dependencies found:
[WARNING] sc.fiji:bigdataviewer_fiji:jar:6.2.0:compile
[WARNING] net.imagej:imagej-legacy:jar:0.37.4:compile
[WARNING] ome:formats-gpl:jar:6.5.1:compile
@imagejan Thanks! I'll ping you once I fixed those.
@imagejan One of my test should involve writing a 3GB sized file, because I need to make sure my code can deal with arrays that are larger than the java indexing limit. Is that something that travis can handle?
@imagejan Related to above, I think I'll also need something like this, i.e. ~10g of RAM:
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<argLine>-Xmx10g</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
I don't know the exact conditions for travis. In case it doesn't work, you can also skip the heavy tests in the CI environment, and just make sure they still pass by running them locally on your machine. That shouldn't stop the deployment.
@imagejan As I hope this to be published soon, if you have time, this would be another repo for deploying to scijava maven. Since your great help, all of its dependencies are now already available, so it should build in travis 🚀 .