Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
65 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
language: java | ||
|
||
jdk: | ||
- openjdk11 | ||
- openjdk11 | ||
|
||
sudo: false | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
|
||
cache: | ||
directories: | ||
- "$HOME/.gradle/caches/" | ||
- "$HOME/.gradle/wrapper/" | ||
- "$HOME/.m2/repository/" | ||
- "$HOME/.gradle/caches/" | ||
- "$HOME/.gradle/wrapper/" | ||
- "$HOME/.m2/repository/" | ||
|
||
install: "/bin/true" | ||
|
||
script: "./gradlew test" | ||
|
||
after_success: "./snapshot_deploy.sh" | ||
jobs: | ||
include: | ||
- stage: test | ||
name: "junit gradle plugin" | ||
script: "./gradlew test" | ||
- stage: test | ||
name: "kotlintest gradle plugin" | ||
script: "./gradlew kotlintest" | ||
- stage: deploy | ||
script: "./snapshot_deploy.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ plugins { | |
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id "io.kotlintest" | ||
} | ||
|
||
dependencies { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ plugins { | |
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id "io.kotlintest" | ||
} | ||
|
||
dependencies { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ plugins { | |
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id "io.kotlintest" | ||
} | ||
|
||
dependencies { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ plugins { | |
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id "io.kotlintest" | ||
} | ||
|
||
dependencies { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,46 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
} | ||
|
||
plugins { | ||
id 'java' | ||
id 'org.jetbrains.kotlin.jvm' | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id 'java' | ||
id 'org.jetbrains.kotlin.jvm' | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id "io.kotlintest" | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
|
||
dependencies { | ||
testImplementation project(':kotlintest-core') | ||
testImplementation project(':kotlintest-assertions') | ||
testImplementation project(':kotlintest-runner:kotlintest-runner-junit5') | ||
testImplementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.2' | ||
testImplementation "com.nhaarman:mockito-kotlin:1.6.0" | ||
testImplementation 'org.mockito:mockito-core:2.24.0' | ||
testImplementation project(':kotlintest-core') | ||
testImplementation project(':kotlintest-assertions') | ||
testImplementation project(':kotlintest-runner:kotlintest-runner-junit5') | ||
testImplementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.2' | ||
testImplementation "com.nhaarman:mockito-kotlin:1.6.0" | ||
testImplementation 'org.mockito:mockito-core:2.24.0' | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
useJUnitPlatform() | ||
|
||
// show standard out and standard error of the test JVM(s) on the console | ||
testLogging.showStandardStreams = true | ||
// show standard out and standard error of the test JVM(s) on the console | ||
testLogging.showStandardStreams = true | ||
|
||
// Always run tests, even when nothing changed. | ||
dependsOn 'cleanTest' | ||
// Always run tests, even when nothing changed. | ||
dependsOn 'cleanTest' | ||
|
||
testLogging { | ||
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR" | ||
exceptionFormat = 'full' | ||
} | ||
testLogging { | ||
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR" | ||
exceptionFormat = 'full' | ||
} | ||
} | ||
|
||
publish.enabled = false |