-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #493 from sbt/wip/appveyor-windows-tests
Wip/appveyor windows tests
- Loading branch information
Showing
7 changed files
with
122 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: '{build}' | ||
os: Windows Server 2012 | ||
install: | ||
- ps: | | ||
Add-Type -AssemblyName System.IO.Compression.FileSystem | ||
if (!(Test-Path -Path "C:\sbt" )) { | ||
(new-object System.Net.WebClient).DownloadFile( | ||
'https://dl.bintray.com/sbt/native-packages/sbt/0.13.7/sbt-0.13.7.zip', | ||
'C:\sbt-bin.zip' | ||
) | ||
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sbt-bin.zip", "C:\sbt") | ||
} | ||
- cmd: SET PATH=C:\sbt\sbt\bin;%JAVA_HOME%\bin;%PATH% | ||
- cmd: SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4g | ||
- cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g | ||
build_script: | ||
- sbt clean compile | ||
test_script: | ||
- sbt "test-only * -- -n windows" | ||
- sbt "scripted universal/dist universal/stage windows/java-app-archetype windows/test-custom-main" | ||
cache: | ||
- C:\sbt\ | ||
- C:\Users\appveyor\.m2 | ||
- C:\Users\appveyor\.ivy2 |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Run the staging and check the script. | ||
> stage | ||
$ exists target/universal/stage/lib/classpath-jar-test.classpath-jar-test-0.1.0-classpath.jar | ||
$ exists target/universal/stage/bin/classpath-jar-test.bat | ||
> check-classspath | ||
> run-check |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.typesafe.sbt | ||
|
||
import org.scalatest._ | ||
|
||
package object packager { | ||
|
||
object UniversalTag extends Tag("universal") | ||
object LinuxTag extends Tag("linux") | ||
object WindowsTag extends Tag("windows") | ||
} |
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