Permalink
Browse files

Update CircleCI config to 2.0 (#216)

* Update circleci config
  • Loading branch information...
xthexder committed Jul 1, 2018
1 parent afe6edd commit 5eb3cc1d4d8533153b86e4eb4ac57e962a2914e3
Showing with 26 additions and 8 deletions.
  1. +26 −0 .circleci/config.yml
  2. +0 −8 circle.yml
View
@@ -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
View

This file was deleted.

Oops, something went wrong.

0 comments on commit 5eb3cc1

Please sign in to comment.