forked from xenit-eu/alfresco-docker-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
21 lines (21 loc) · 890 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
init:
# - ps: Stop-Service "com.docker.service"
# - ps: Stop-Process -Name "Docker Desktop"
# # Configure docker to run with tcp://localhost:2375 exposed
# - ps: |
# $config = Get-Content "C:\Users\appveyor\AppData\Roaming\Docker\settings.json" -raw | ConvertFrom-Json
# $config.exposeDockerAPIOnTCP2375=$true
# $config | ConvertTo-Json | Set-Content "C:\Users\appveyor\AppData\Roaming\Docker\settings.json"
# - ps: Start-Service "com.docker.service"
# - ps: '& "C:\\Program Files\\Docker\\Docker\\Docker Desktop.exe"'
- ps: Switch-DockerLinux
- cmd: docker info
environment:
DOCKER_HOST: 'npipe:////./pipe/docker_engine'
JAVA_HOME: 'C:\\Program Files\\Java\\jdk11'
install:
- cmd: choco install docker-compose
build_script:
- cmd: gradlew assemble
test_script:
- cmd: gradlew check -i -PintegrationTestGradleVersions=6.4