Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 26436b1

Browse files
committed
Add CircleCi. #2
1 parent c5d8c2c commit 26436b1

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.circleci/config.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
version: 2
3+
jobs:
4+
build:
5+
docker:
6+
- image: circleci/golang:1.8
7+
8+
working_directory: /go/src/github.com/JulienBreux/pody
9+
10+
environment:
11+
TEST_RESULTS: /tmp/test-results
12+
13+
steps:
14+
- checkout
15+
- run: mkdir -p $TEST_RESULTS
16+
17+
- run:
18+
name: Get deps
19+
command: go get ./...
20+
21+
- run:
22+
name: Run unit tests
23+
command: |
24+
make test | tee ${TEST_RESULTS}/go-test.out
25+
26+
- store_artifacts:
27+
path: /tmp/test-results
28+
destination: raw-test-output
29+
30+
- store_test_results:
31+
path: /tmp/test-results

0 commit comments

Comments
 (0)