Skip to content

Commit

Permalink
Updated ArrayMath Tests
Browse files Browse the repository at this point in the history
Updated tests
  • Loading branch information
chrisengelsma authored Jun 5, 2017
1 parent 99b8dd0 commit c12eb69
Show file tree
Hide file tree
Showing 16 changed files with 2,739 additions and 629 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 +extension RANDR"

script: ./gradlew build -x :core:signArchives
script: gradle build

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defaultTasks ':core:jar'
// for root project, as well as subprojects
allprojects {
group = 'edu.mines.jtk'
version = '1.0.0'
version = '1.1.0'
}

// for subprojects only
Expand Down
59 changes: 1 addition & 58 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,17 @@ distributions {
}
// end::distributions[]



// tag::test[]
test {
useTestNG() {
options {
parallel="methods"
parallel="classes"
threadCount=5
}
}
}
// end::test[]


// tag::javadoc[]
javadoc {
title = project.description
Expand All @@ -56,14 +53,6 @@ jacocoTestReport {
check.dependsOn jacocoTestReport
// end::jacocoTestReport[]

// tag::deps[]
task deps(type: Sync) {
description = "Copies all dependencies into core/build/deps/."
from configurations.runtime
into "${buildDir}/deps"
}
// end::deps[]

// tag::javadocJar[]
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
Expand All @@ -83,49 +72,3 @@ artifacts {
archives javadocJar
archives sourcesJar
}

signing {
sign configurations.archives
}

if (project.hasProperty('sonatypeUsername')) {
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: sonatypeUsername, password: sonatypePassword)
}

pom.project {
name 'Mines Java Toolkit'
packaging 'jar'
description 'Java packages for science and engineering'
url 'https://github.com/MinesJTK/jtk/'

scm {
url 'scm:[email protected]/MinesJTK/jtk.git'
connection 'scm:[email protected]/MinesJTK/jtk.git'
developerConnection 'scm:[email protected]/MinesJTK/jtk.git'
}

licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}

developers {
developer {
id 'dhale'
name 'Dave Hale'
}
}
}
}
}
}
}
Loading

0 comments on commit c12eb69

Please sign in to comment.