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

Commit

Permalink
Add CircleCi. #2
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienBreux committed Aug 27, 2017
1 parent c5d8c2c commit 26436b1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.8

working_directory: /go/src/github.com/JulienBreux/pody

environment:
TEST_RESULTS: /tmp/test-results

steps:
- checkout
- run: mkdir -p $TEST_RESULTS

- run:
name: Get deps
command: go get ./...

- run:
name: Run unit tests
command: |
make test | tee ${TEST_RESULTS}/go-test.out
- store_artifacts:
path: /tmp/test-results
destination: raw-test-output

- store_test_results:
path: /tmp/test-results

0 comments on commit 26436b1

Please sign in to comment.