blob: b2420ba7a0d3975a815439e35054680375e7e401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
version: 2
jobs:
build:
docker:
- image: hairyhenderson/gomplate-ci-build:latest
environment:
- CIRCLE_TEST_REPORTS: /tmp/test-results
working_directory: /go/src/github.com/hairyhenderson/gomplate
steps:
- checkout
- run: make build
- run:
name: make test
command: |
trap "go-junit-report < $CIRCLE_TEST_REPORTS/go-test.out > $CIRCLE_TEST_REPORTS/report.xml" EXIT
make test | tee $CIRCLE_TEST_REPORTS/go-test.out
- run: make lint
- run: make integration
- store_artifacts:
path: bin
destination: binaries
- store_test_results:
path: /tmp/test-results
|