This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
forked from jdel/gosspks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (67 loc) · 5.51 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: go
go:
- 1.13
addons:
apt:
packages:
- python3
- python3-pip
- python3-setuptools
- python3-wheel
cache:
directories:
- "$HOME/.cache/pip"
before_install:
- curl -sSL https://codeclimate.com/downloads/test-reporter/test-reporter-0.6.3-linux-amd64
-o ${GOPATH}/bin/test-reporter
- chmod +x ${GOPATH}/bin/test-reporter
- go get -v github.com/mitchellh/[email protected]
install:
- go get -v ./...
before_script:
- test-reporter before-build
script:
- go test -coverprofile c.out ./... -race
- gox -osarch="linux/386 linux/amd64 linux/arm linux/arm64 darwin/amd64 darwin/386
windows/amd64 windows/386" -output="out/{{.Dir}}-{{.OS}}-{{.Arch}}" -ldflags "-s
-w -X jdel.org/gosspks/cfg.Version=${TRAVIS_BRANCH}"
after_script:
- test-reporter after-build --coverage-input-type gocov --prefix jdel.org/gosspks
--exit-code ${TRAVIS_TEST_RESULT}
deploy:
- provider: script
skip_cleanup: true
script: bash scripts/vangen.sh
on:
branch: master
- provider: script
skip_cleanup: true
script: bash scripts/b2.sh
on:
tags: false
all_branches: true
- provider: releases
overwrite: true
api_key:
secure: tCnJi3GvBS37LLBojbyPLwdJTh4xgCcs5Nn0ui0oDJUVp+NyiuAQcHAnUnIQ36M1pAeOtwBWyjawSrigqiOJ/tLLB54HMEITSbn+celb4oL04GEl2EoqDtyMjnZwrKtxWzTtGfjaycaiYUJNZRJlpyLz3Xg3DwyFWXRFRMya95jFlS+F8/kE5wzrNdV45wN+0hPKlJzaF9DtbgQBLhL0t0dZ0khBHTY7WIf7eHEYdYeGClFyzPAdLEON6CFcKkXWxn88No39T1upd7oR+k8RhsikngtkrQc2fu06F9EZFVdJVyrVSkKb+iXCzgoiOCsvyIWyH2je3gZq+vqcfBQQ2hTIrXvpq6w2vBDy30HWcTW2O7FkwgfwpH/y7d7kOZ9ZyY4cxYYIEVrq4kxHOn2cEBbKEWmlynjpKqBmHMbdVWNrG2ksIJJjBV3TumRuXNnAPNf+KnRwz8+v9j44vhMfXFlPkNsS7aS7XXV9HQvYxcFXYGFEd8Pe7CSBI7Pe+/FVVbxnmPpMjlaiMBueQjZYSn4waTB3VPtmdj0sfRxj8YmsBSFde6toZLXBq4ooLlRh7zXMRj3b7Wl84hz9cVl2x1prsq/qlcTyIv8vekDfnGOkZZvypJelV4sLbaGTrnQFnXSI97RIxQzvfLT+Od8aorX220mcsKj5Xs/gmO7s8hw=
file:
- out/gosspks-darwin-386
- out/gosspks-darwin-amd64
- out/gosspks-linux-386
- out/gosspks-linux-amd64
- out/gosspks-linux-arm
- out/gosspks-windows-386.exe
- out/gosspks-windows-amd64.exe
skip_cleanup: true
on:
repo: jdel/gosspks
tags: true
notifications:
slack:
secure: roUfLYvdO1i7NDMhxzUXtzTSK4xGbpdnUO86h9Oa84PEFZbo4zrya/zevoA+mmuWOf/Wvl5crvv+0KSFcijNrwqJbzdY0Oc55JwQlel+fnoa6OBFXgSoVa0lmdFwcJN9sCHOMFfpVluCriSn7Hc1W8uFutNRUsmEiZlgN8K+Fis79D2ousXQS0ZtmxGX6Va+pyoWuW0HLHdbEtFJRdPz0BW+N5WkTmKuCvkmZgEtCRl+fYn1Bo/4y2rj+HSCEaYtihpmD1MDgxVFwc2rWfZRE5zCJowTgkHKrGOHZ3A7blyZgrrb2I9SwLqk0khSjys5GqNiqfOD7Ocp0Xjj6UWl5W3qRXbvgXNx4Vje3jR5vJJxl2NXl8iPeXVPc7GBi9MpX024kF4ZSwfecJ6gaRG2mGmukbgVa1x/RI6624szujgO2DNZCZ3Tp1mLKuj4wwik3+8EJ3MEX+MBk0f5SJ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