File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 13
13
script : make test
14
14
15
15
before_deploy :
16
- - mkdir bin
17
- - go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
18
- - cd bin && tar czf ../docker-credential-osxkeychain-${TRAVIS_TAG}-amd64.tar.gz docker-credential-osxkeychain
16
+ - sh ci/before_deploy.sh
19
17
20
18
deploy :
21
19
provider : releases
Original file line number Diff line number Diff line change @@ -32,13 +32,12 @@ install:
32
32
- go version
33
33
- go env
34
34
35
- build_script :
35
+ build : false
36
+
37
+ test_script :
36
38
- go vet ./wincred
37
39
- go test -v github.com/docker/docker-credential-helpers/wincred
38
40
39
- # Disable automatic tests
40
- test : off
41
-
42
41
# Equivalent to `before_deploy` phase
43
42
after_test :
44
43
# build binary
@@ -49,12 +48,10 @@ after_test:
49
48
50
49
# IMPORTANT All the artifacts need to be listed here, or they won't be uploaded to GitHub
51
50
artifacts :
52
- - path : docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip
53
- name : docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip
54
- type : zip
51
+ - path : docker-credential-wincred-$(APPVEYOR_REPO_TAG_NAME)-$(GOARCH).zip
52
+ name : docker-credential-wincred-$(APPVEYOR_REPO_TAG_NAME)-$(GOARCH).zip
55
53
56
54
deploy :
57
- description : " Credential helpers release %APPVEYOR_REPO_TAG_NAME%"
58
55
# All the zipped artifacts will be deployed
59
56
artifact : /.*\.zip/
60
57
auth_token :
Original file line number Diff line number Diff line change
1
+ set -ex
2
+
3
+ mkdir bin
4
+ go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
5
+ cd bin
6
+ tar czf ../docker-credential-osxkeychain-${TRAVIS_TAG} -amd64.tar.gz docker-credential-osxkeychain
You can’t perform that action at this time.
0 commit comments