copy .git folder explicity

This commit is contained in:
Dominic Breuker
2018-03-09 17:30:33 +01:00
parent 5a2d99fafb
commit 8fea22e762
5 changed files with 5 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
version: 2
jobs:
build:
machine: true
image: docker:17.05.0-ce-git
docker:
- image: docker:17.05.0-ce-git
steps:
- checkout
- setup_remote_docker
- run: docker build -f ./docker/Dockerfile.testing -t local/pspy-testing:latest .
- run: docker run -it -v `pwd`/.git:/go/src/github.com/dominicbreuker/pspy/.git -e CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID local/pspy-testing:latest
- run: docker run -it -e CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID local/pspy-testing:latest