-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set docker-compose.yml version to 2.1 to fix a strange issue on Windows. See: docker/compose#4106 This may not occur anymore since we finally used docker-for-windows instead of the preinstalled docker in AppVeyor's VS2017 image. We also don't need to `DockerCli -SwitchDaemon`.
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
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,26 @@ | ||
environment: | ||
nodejs_version: "6" | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- yarn | ||
- ps: choco install docker-for-windows --ignore-checksums | ||
|
||
build: off | ||
|
||
test_script: | ||
- node --version | ||
- npm --version | ||
- yarn --version | ||
- docker version | ||
- docker-compose version | ||
- docker-compose build | ||
- docker-compose create | ||
- docker-compose start | ||
- yarn bootstrap | ||
- yarn test-unit | ||
- docker-compose stop | ||
|
||
on_failure: | ||
- ps: cat C:\Users\appveyor\AppData\Local\Temp\1\chocolatey\docker-for-windows.17.3.0.10296.MsiInstall.log | ||
- ps: ls 'C:\Program Files\Docker\' |
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,4 +1,4 @@ | ||
version: '2' | ||
version: '2.1' | ||
services: | ||
couch: | ||
image: klaemo/couchdb:2.0.0 | ||
|