diff --git a/.travis.yml b/.travis.yml index 140e185..244115d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,3 +15,14 @@ - $HOME/.sbt/boot - $HOME/.sbt/launchers - $HOME/.coursier +matrix: + include: + - os: windows + language: bash + env: JDK="adopt@1.8.212-04" + before_script: + - curl "https://raw.githubusercontent.com/DanySK/Gravis-CI/c8f400623d8f756ef7c/.install-jdk-travis.sh" --output .install-jdk-travis.sh + - source .install-jdk-travis.sh + - wget https://raw.githubusercontent.com/paulp/sbt-extras/0ee2dae2eba72efb4a464a5ad255e348696ecda7/sbt && chmod +x ./sbt + script: + - ./sbt test diff --git a/build.sbt b/build.sbt index 4456ca8..51e0df4 100644 --- a/build.sbt +++ b/build.sbt @@ -256,3 +256,17 @@ case DepModuleInfo("com.github.bkromhout", "java-diff-utils", _) => LicenseInfo(LicenseCategory.Apache, "Apache-2.0", "http://www.apache.org/licenses/LICENSE-2.0") } + +testOptions in Test ++= { + if (scala.util.Properties.isWin) { + Seq( + Tests.Exclude( + Set( + "gitbucket.core.GitBucketCoreModuleSpec" + ) + ) + ) + } else { + Nil + } +}