fix
This commit is contained in:
parent
bd522bde3a
commit
f13c25c7d3
11
circle.yml
11
circle.yml
|
@ -4,8 +4,6 @@ shared: &shared
|
||||||
environment: # environment variables for the build itself
|
environment: # environment variables for the build itself
|
||||||
GOPATH: /go
|
GOPATH: /go
|
||||||
TEST_RESULTS: /tmp/test-results
|
TEST_RESULTS: /tmp/test-results
|
||||||
TEST_OUT: $TEST_RESULTS/
|
|
||||||
|
|
||||||
steps: # steps that comprise the `build` job
|
steps: # steps that comprise the `build` job
|
||||||
- checkout # check out source code to working directory
|
- checkout # check out source code to working directory
|
||||||
- run: mkdir -p $TEST_RESULTS # create the test results directory
|
- run: mkdir -p $TEST_RESULTS # create the test results directory
|
||||||
|
@ -13,7 +11,6 @@ shared: &shared
|
||||||
- restore_cache: # restores saved cache if no changes are detected since last run
|
- restore_cache: # restores saved cache if no changes are detected since last run
|
||||||
keys:
|
keys:
|
||||||
- v1-pkg-cache
|
- v1-pkg-cache
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Load dependencies
|
name: Load dependencies
|
||||||
command: go get github.com/mattn/goveralls && go get github.com/go-ini/ini && go get gopkg.in/yaml.v2
|
command: go get github.com/mattn/goveralls && go get github.com/go-ini/ini && go get gopkg.in/yaml.v2
|
||||||
|
@ -41,14 +38,14 @@ shared: &shared
|
||||||
jobs:
|
jobs:
|
||||||
latest:
|
latest:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang
|
- image: circleci/golang
|
||||||
|
<<: *shared
|
||||||
- run:
|
- run:
|
||||||
name: Update coveralls.io
|
name: Update coveralls.io
|
||||||
command: /go/bin/goveralls -coverprofile=$COVER_PROFILE -service=circle-ci -repotoken=$COVERALLS_TOKEN
|
command: /go/bin/goveralls -coverprofile=$COVER_PROFILE -service=circle-ci -repotoken=$COVERALLS_TOKEN
|
||||||
<<: *shared
|
|
||||||
|
|
||||||
go-1.10.4:
|
go-1.10:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.10.4
|
- image: circleci/golang:1.10
|
||||||
<<: *shared
|
<<: *shared
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue