forked from gomods/athens
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
\gomods#1500 - prototype for using testcontainers-go for dependencies
Prototype for using testcontainers for dependencies: mongodb, minio, and redis Updated the appvoyer.yml file to run these in the test, rather than skip those tests because the environment variables weren't set
- Loading branch information
1 parent
4530a58
commit 31e5b9e
Showing
7 changed files
with
204 additions
and
40 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 |
---|---|---|
@@ -1,14 +1,25 @@ | ||
image: Ubuntu # sorry | ||
build: off | ||
|
||
clone_folder: c:\gopath\src\github.com\gomods\athens | ||
clone_folder: /tmp/gopath/src/github.com/gomods/athens | ||
|
||
services: | ||
- docker | ||
|
||
environment: | ||
GOPATH: c:\gopath | ||
GOPATH: /tmp/gopath | ||
GO111MODULE: on | ||
GOPROXY: https://proxy.golang.org | ||
SKIP_UNTIL_113: true | ||
|
||
stack: go 1.13 | ||
|
||
test_script: | ||
- go test ./... | ||
- docker version # test to make sure docker daemon is running | ||
- go test -v ./... | ||
|
||
# in case we have dangling images, the testcontainers reaper image does not | ||
# support windows for now, so we have to skip it | ||
# https://github.com/testcontainers/testcontainers-go/issues/156 | ||
after_test: | ||
- docker stop $(docker ps -q) |
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
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
Oops, something went wrong.