This commit is contained in:
Adrien Marquès 2018-11-16 08:30:09 +01:00
parent bd522bde3a
commit f13c25c7d3
1 changed files with 4 additions and 7 deletions

View File

@ -4,8 +4,6 @@ shared: &shared
environment: # environment variables for the build itself
GOPATH: /go
TEST_RESULTS: /tmp/test-results
TEST_OUT: $TEST_RESULTS/
steps: # steps that comprise the `build` job
- checkout # check out source code to working 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
keys:
- v1-pkg-cache
- run:
name: Load dependencies
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:
latest:
docker:
- image: circleci/golang
- image: circleci/golang
<<: *shared
- run:
name: Update coveralls.io
command: /go/bin/goveralls -coverprofile=$COVER_PROFILE -service=circle-ci -repotoken=$COVERALLS_TOKEN
<<: *shared
go-1.10.4:
go-1.10:
docker:
- image: circleci/golang:1.10.4
- image: circleci/golang:1.10
<<: *shared