forked from schwamster/HttpService
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
22 lines (19 loc) · 669 Bytes
/
circle.yml
File metadata and controls
22 lines (19 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
machine:
services:
- docker
dependencies:
override:
- docker info
- docker build --build-arg BuildNumber=$CIRCLE_BUILD_NUM -t httpservice-build .
- docker create --name httpservice-build httpservice-build
- docker cp httpservice-build:/package ./package
- docker cp httpservice-build:/testresults/ ./testresults
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/junit
- sudo mv testresults/out.xml $CIRCLE_TEST_REPORTS/junit
deployment:
hub:
branch: master
commands:
- docker run --rm -v ~/HttpService/package:/data/package schwamster/nuget-docker push /data/package/*.nupkg $Nuget_Api_Key -Source nuget.org