File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : go
2- go :
3- - " 1.10"
4- jobs :
5- include :
6- - stage : Test and build
7- script :
8- REVISION=${TRAVIS_COMMIT::7} make test && docker run -e BUILD_ARCH=amd64 -e REVISION=${TRAVIS_COMMIT::7} -e GIT_TAG=$(git describe --abbrev=0 --tags) -e DIST_DIR=/upload -v $(pwd)/_dist/:/upload --rm quay.io/drycc/workflow-cli-dev:${TRAVIS_COMMIT::7} make build-all
2+ sudo : required
3+ services :
4+ - docker
5+ script :
6+ - make bootstrap test
7+ notifications :
8+ slack :
9+ rooms :
10+ - drycc:xKmLlmJR4hfRAgVIOwdpAoC9#drycc
11+ after_success :
12+ - bash <(curl -s https://codecov.io/bash)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,17 +34,19 @@ bootstrap:
3434
3535# This is supposed to be run within a docker container
3636build-revision :
37- ${DEV_ENV_CMD} gox -verbose ${GO_LDFLAGS} -os=" ${BUILD_OS} " -arch=" ${BUILD_ARCH} " -output=" ${DIST_DIR} /${REVISION} /drycc-${REVISION} -{{.OS}}-{{.Arch}}" .
38-
37+ ${DEV_ENV_CMD} gox -verbose ${GO_LDFLAGS} -os=" ${BUILD_OS} " -arch=" ${BUILD_ARCH} " -output=" ${DIST_DIR} /${REVISION} /drycc-${REVISION} -{{.OS}}-{{.Arch}}" .
3938# This is supposed to be run within a docker container
4039build-tag :
4140 ${DEV_ENV_CMD} gox -verbose ${GO_LDFLAGS} -os=" ${BUILD_OS} " -arch=" ${BUILD_ARCH} " -output=" ${DIST_DIR} /${GIT_TAG} /drycc-${GIT_TAG} -{{.OS}}-{{.Arch}}" .
4241 @$(call build-install-script,${GIT_TAG})
4342
4443build : build-tag build-revision
4544
46- test-style : build-test-image
45+ test-style :
4746 ${DEV_ENV_CMD} lint
4847
49- test :
50- ${DEV_ENV_CMD} test
48+ test-cover :
49+ ${DEV_ENV_CMD} test-cover.sh
50+
51+ test : build-revision test-style test-cover
52+ ${DEV_ENV_CMD} go test ./...
Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://travis-ci.org/drycc/workflow-cli.svg?branch=master )] ( https://travis-ci.org/drycc/workflow-cli )
2-
31# Drycc Client
42
5- [ ![ Build Status] ( https://ci.drycc.cc/buildStatus/icon?job=Drycc/ workflow-cli/ master )] ( https://ci.drycc.cc/job/Drycc/job/ workflow-cli/job/master/ )
3+ [ ![ Build Status] ( https://travis- ci.org/ drycc/ workflow-cli.svg?branch= master )] ( https://travis- ci.org/ drycc/ workflow-cli )
64[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/drycc/workflow-cli )] ( https://goreportcard.com/report/github.com/drycc/workflow-cli )
7- [ ![ codebeat badge] ( https://codebeat.co/badges/05d314a8-ca61-4211-b69e-e7a3033662c8 )] ( https://codebeat.co/projects/github-com-drycc-workflow-cli )
5+ [ ![ codebeat badge] ( https://codebeat.co/badges/826a57a3-c9a8-4263-ae57-f249d5a3bb79 )] ( https://codebeat.co/projects/github-com-drycc-workflow-cli-master )
86[ ![ codecov] ( https://codecov.io/gh/drycc/workflow-cli/branch/master/graph/badge.svg )] ( https://codecov.io/gh/drycc/workflow-cli )
97
108Download Links: https://github.com/drycc/workflow-cli/releases
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments