mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 06:09:55 +01:00
Merge branch 'ci-dev-urandom' into 'master'
Use /dev/urandom for CI See merge request briar/briar!899
This commit is contained in:
@@ -11,8 +11,8 @@ test:
|
|||||||
- .gradle/caches
|
- .gradle/caches
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew --no-daemon animalSnifferMain animalSnifferTest
|
- ./gradlew --no-daemon -Djava.security.egd=file:/dev/urandom animalSnifferMain animalSnifferTest
|
||||||
- ./gradlew --no-daemon test
|
- ./gradlew --no-daemon -Djava.security.egd=file:/dev/urandom test
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
# these file change every time but should not be cached
|
# these file change every time but should not be cached
|
||||||
|
|||||||
@@ -55,3 +55,8 @@ project.afterEvaluate {
|
|||||||
into 'src/main/res/raw'
|
into 'src/main/res/raw'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
// Use entropy-gathering device specified on command line, if any
|
||||||
|
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
|
||||||
|
}
|
||||||
|
|||||||
@@ -31,3 +31,8 @@ task jarTest(type: Jar, dependsOn: testClasses) {
|
|||||||
artifacts {
|
artifacts {
|
||||||
testOutput jarTest
|
testOutput jarTest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
// Use entropy-gathering device specified on command line, if any
|
||||||
|
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
|
||||||
|
}
|
||||||
|
|||||||
@@ -44,3 +44,8 @@ task jarTest(type: Jar, dependsOn: testClasses) {
|
|||||||
artifacts {
|
artifacts {
|
||||||
testOutput jarTest
|
testOutput jarTest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
// Use entropy-gathering device specified on command line, if any
|
||||||
|
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
|
||||||
|
}
|
||||||
|
|||||||
@@ -26,5 +26,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(Test) {
|
tasks.withType(Test) {
|
||||||
|
// Use entropy-gathering device specified on command line, if any
|
||||||
|
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
|
||||||
systemProperty 'java.library.path', 'libs'
|
systemProperty 'java.library.path', 'libs'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -186,4 +186,7 @@ project.afterEvaluate {
|
|||||||
preBuild.dependsOn.add(verifyTranslations)
|
preBuild.dependsOn.add(verifyTranslations)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
// Use entropy-gathering device specified on command line, if any
|
||||||
|
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
|
||||||
|
}
|
||||||
|
|||||||
@@ -11,3 +11,8 @@ dependencies {
|
|||||||
|
|
||||||
signature 'org.codehaus.mojo.signature:java16:1.1@signature'
|
signature 'org.codehaus.mojo.signature:java16:1.1@signature'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
// Use entropy-gathering device specified on command line, if any
|
||||||
|
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
|
||||||
|
}
|
||||||
|
|||||||
@@ -32,3 +32,8 @@ dependencies {
|
|||||||
|
|
||||||
signature 'org.codehaus.mojo.signature:java16:1.1@signature'
|
signature 'org.codehaus.mojo.signature:java16:1.1@signature'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
// Use entropy-gathering device specified on command line, if any
|
||||||
|
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user