2015-07-07 20:43:17 +02:00
|
|
|
# Adapted from https://github.com/sbt/sbt-native-packager/blob/master/appveyor.yml
|
|
|
|
|
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.8/sbt-0.13.8.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
|
2017-06-09 14:15:11 +02:00
|
|
|
- git submodule update --init --recursive
|
2015-07-07 20:43:17 +02:00
|
|
|
build_script:
|
2018-01-22 01:12:59 +01:00
|
|
|
- sbt ++2.11.12 clean compile coreJVM/publishLocal
|
2018-03-12 11:18:18 +01:00
|
|
|
- sbt ++2.10.7 clean compile
|
2018-03-12 11:18:18 +01:00
|
|
|
- sbt ++2.12.4 coreJVM/publishLocal cacheJVM/publishLocal cli/publishLocal extra/publishLocal scalazJVM/publishLocal sbt-shared/publishLocal
|
2018-03-12 11:18:18 +01:00
|
|
|
- sbt ++2.10.7 coreJVM/publishLocal cacheJVM/publishLocal extra/publishLocal sbt-shared/publishLocal
|
2015-07-07 20:43:17 +02:00
|
|
|
test_script:
|
2017-03-23 15:19:07 +01:00
|
|
|
- ps: Start-Job -filepath .\scripts\start-it-auth-server.ps1 -ArgumentList $pwd
|
|
|
|
|
- ps: Start-Sleep -s 15 # wait for the first server to have downloaded its dependencies
|
|
|
|
|
- ps: Start-Job -filepath .\scripts\start-it-no-listing-server.ps1 -ArgumentList $pwd
|
2017-08-06 16:23:48 +02:00
|
|
|
- sbt ++2.12.4 testsJVM/test testsJVM/it:test # Would node be around for testsJS/test?
|
2018-03-12 11:18:18 +01:00
|
|
|
- sbt ++2.11.12 testsJVM/test testsJVM/it:test
|
|
|
|
|
- sbt ++2.10.7 testsJVM/test testsJVM/it:test
|
2017-08-06 16:23:48 +02:00
|
|
|
- sbt ++2.12.4 "sbt-coursier/scripted sbt-coursier/simple" sbt-coursier/publishLocal "sbt-shading/scripted sbt-shading/*" # for sbt 1.0
|
2018-03-12 11:18:18 +01:00
|
|
|
- sbt ++2.10.7 "sbt-coursier/scripted sbt-coursier/*" "sbt-coursier/scripted sbt-coursier-0.13/*" sbt-coursier/publishLocal "sbt-shading/scripted sbt-shading/*" "sbt-shading/scripted sbt-shading-0.13/*" # for sbt 0.13
|
2017-05-05 18:04:21 +02:00
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|