config.yml 572 B

12345678910111213141516171819
  1. # Golang CircleCI 2.0 configuration file
  2. #
  3. # Check https://circleci.com/docs/2.0/language-go/ for more details
  4. version: 2
  5. jobs:
  6. build:
  7. docker:
  8. # specify the version
  9. - image: circleci/golang:1.10
  10. working_directory: /go/src/github.com/go-xorm/cmd
  11. steps:
  12. - checkout
  13. - run: go get -t -d -v ./...
  14. - run: go test ./... -v -race -coverprofile=coverage-1.txt -covermode=atomic
  15. - run: go get -u github.com/wadey/gocovmerge
  16. - run: gocovmerge coverage-1.txt > coverage.txt
  17. - run: bash <(curl -s https://codecov.io/bash)