Skip to content

Commit

Permalink
Update CircleCI config to 2.0 (#216)
Browse files Browse the repository at this point in the history
* Update circleci config
  • Loading branch information
xthexder committed Jul 1, 2018
1 parent afe6edd commit 5eb3cc1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.10.2

working_directory: /go/src/github.com/Shopify/toxiproxy

environment:
TEST_RESULTS: /tmp/test-results

steps:
- checkout
- run: mkdir -p $TEST_RESULTS
- run: go get github.com/jstemmer/go-junit-report
- run:
name: Run unit tests
command: |
trap "go-junit-report <${TEST_RESULTS}/go-test.out > ${TEST_RESULTS}/go-test-report.xml" EXIT
make test | tee ${TEST_RESULTS}/go-test.out
- store_test_results:
path: /tmp/test-results
- store_artifacts:
path: /tmp/test-results
destination: raw-test-output
8 changes: 0 additions & 8 deletions circle.yml

This file was deleted.

0 comments on commit 5eb3cc1

Please sign in to comment.