From 4c7d559d0b7300a5f5039197e63210e4472eb8b5 Mon Sep 17 00:00:00 2001 From: Sam Halliday Date: Fri, 23 Jan 2015 21:47:32 +0000 Subject: [PATCH] improvements to CI --- .settings.xml | 12 ++++++++++++ .travis.yml | 21 ++++++++++++++++++++- README.md | 34 ++++++++++------------------------ pom.xml | 26 ++++++++++++++++++++------ 4 files changed, 62 insertions(+), 31 deletions(-) create mode 100644 .settings.xml diff --git a/.settings.xml b/.settings.xml new file mode 100644 index 0000000..bc06dfc --- /dev/null +++ b/.settings.xml @@ -0,0 +1,12 @@ + + + + sonatype-nexus-snapshots + ${env.SONATYPE_USERNAME} + ${env.SONATYPE_PASSWORD} + + + diff --git a/.travis.yml b/.travis.yml index f5c99a7..1f3414b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,20 @@ -language: java \ No newline at end of file +language: java + +jdk: + - openjdk6 + +env: + global: + # travis encrypt -r fommil/matrix-toolkits-java SONATYPE_USERNAME= + # travis encrypt -r fommil/matrix-toolkits-java SONATYPE_PASSWORD= + # travis encrypt -r fommil/matrix-toolkits-java COVERALLS_TOKEN= + - secure: "dYVZgCtGmkKbSofzQFeldSj7iOCZdmubinl6QViOfjIfdYpXjh/cAj98pK4OXgmRi/pu4cdik2K//RR47spDUefZ11jlXvKQIl//nyB/RmfZDdDarDKJhn1pO/rKraGpF6ZNw+Puwqcg/4hPRV17RgfvdI4JN3vzbWYVXojspTA=" + - secure: "GCoO7HOFJ8kxy7Gbh0vvqC9Ksv8ucBPyIspHcIfbC6Qn/R5GQqtVE799WkLQ57QoxVkTv62wEYfLsILFIK4Rt1fXktqPSUTiLETMjrdA19A6e51dA+4mpi6ny2xGQozZKh0WZMwIhnuAeemT9iQ8jsjYiXAUDchwnf2EYBaVDS0=" + - secure: "gjvopTtBIu/VF+tm/+q35ta5BLUCmhvZLO97YJcAk1HE0KEb9RzpVIGXEDwCxwY2LVPnRCA8CS/FsGIuePtkAka8pmSftAXTOBxCPr5+9GOlWvsFzA35qATmQaEosIKhP2ZKJN7Ra/7b3VFK8v2VwBxck3V/TMfWQ6+Fy54Fn4M=" + +script: + - mvn test + +after_success: + - mvn clean cobertura:cobertura coveralls:report -DrepoToken=$COVERALLS_TOKEN + - mvn clean --settings .settings.xml -Dmaven.test.skip=true $(if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then echo "publish"; fi) diff --git a/README.md b/README.md index 8cd8652..aed99b2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -matrix-toolkits-java [![Build Status](https://travis-ci.org/fommil/matrix-toolkits-java.svg?branch=master)](https://travis-ci.org/fommil/matrix-toolkits-java) +[![Build Status](https://travis-ci.org/fommil/matrix-toolkits-java.svg?branch=master)](https://travis-ci.org/fommil/matrix-toolkits-java) +[![Coverage Status](https://coveralls.io/repos/fommil/matrix-toolkits-java/badge.png)](https://coveralls.io/r/fommil/matrix-toolkits-java) + +matrix-toolkits-java ==================== **MTJ** is a high-performance library for developing linear algebra applications. @@ -8,6 +11,9 @@ MTJ is based on [BLAS](http://www.netlib.org/blas) and [LAPACK](http://www.netli MTJ uses the [`netlib-java`](https://github.com/fommil/netlib-java/) project as a backend, which will automatically use machine-optimised natives, if they are available. Please read the [`netlib-java` documentation](https://github.com/fommil/netlib-java/) for the extra steps needed to ensure that you are getting the best performance for your system. +For more details on high performance linear algebra on the JVM, please watch [my talk at Scala eXchange 2014](https://skillsmatter.com/skillscasts/5849-high-performance-linear-algebra-in-scala) ([follow along with high-res slides](http://fommil.github.io/scalax14/#/)). + + Performance to Other Libraries ============================== @@ -82,42 +88,22 @@ Releases are distributed on Maven central: com.googlecode.matrix-toolkits-java mtj - 1.0.1 - -``` - -**NOTE:** There is a bug in the `netlib-java` that is required by MTJ 1.0.1. To workaround it, also depend on - -```xml - - com.github.fommil.netlib - all - 1.1.2 - pom + 1.0.2 ``` Unofficial single-jar builds may be available from [`java-matrix-benchmark`](https://code.google.com/p/java-matrix-benchmark/source/browse/#svn%2Ftrunk%2Flib%2Fmtj) for laggards who don't have [5 minutes to learn Maven](http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html). - -Snapshots are distributed on Sonatype's Snapshot Repository: +Snapshots may be distributed on Sonatype's Snapshot Repository (if you submit a pull request, a build will appear here when it is merged): ```xml com.googlecode.matrix-toolkits-java mtj - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT ``` -Donations -========= - -Please consider supporting the maintenance of this open source project by starring it, above, and with a donation: - -[![Donate via Paypal](https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=B2HW5ATB8C3QW&lc=GB&item_name=mtj¤cy_code=GBP&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - - Contributing ============ diff --git a/pom.xml b/pom.xml index 9fb34b7..b3798e1 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.projectlombok lombok - 1.12.6 + 1.14.8 provided @@ -91,13 +91,13 @@ junit junit - 4.11 + 4.12 test com.google.guava guava - 16.0.1 + 18.0 test @@ -114,7 +114,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.5 + 1.6 sign-artifacts @@ -128,7 +128,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.2 1.6 1.6 @@ -138,13 +138,27 @@ maven-assembly-plugin - 2.4 + 2.5.3 jar-with-dependencies + + org.eluder.coveralls + coveralls-maven-plugin + 3.0.1 + + + org.codehaus.mojo + cobertura-maven-plugin + 2.6 + + xml + 256m + +