Skip to content

Commit da0cc8e

Browse files
committed
Migrate to goreleaser
1 parent 3f410c8 commit da0cc8e

File tree

4 files changed

+38
-80
lines changed

4 files changed

+38
-80
lines changed

.goreleaser.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
project_name: jplot
2+
builds:
3+
-
4+
env:
5+
- CGO_ENABLED=0
6+
goos:
7+
- darwin
8+
git:
9+
short_hash: true
10+
brew:
11+
github:
12+
owner: rs
13+
name: homebrew-tap
14+
commit_author:
15+
name: Olivier Poitrey
16+
17+
homepage: https://github.com/rs/jplot
18+
description: iTerm2 expvar/JSON monitoring tool
19+
20+
release:
21+
name_template: "{{.ProjectName}}-v{{.Version}}"

.travis.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
language: go
22
go:
3-
- "1.8"
4-
- "1.9"
5-
- "1.10"
3+
- '1.8'
4+
- '1.9'
5+
- '1.10'
66
- master
77
matrix:
88
allow_failures:
9-
- go: master
10-
script:
11-
go test -v -race -cpu=1,2,4 -bench . -benchmem ./...
9+
- go: master
10+
script: go test -v -race -cpu=1,2,4 -bench . -benchmem ./...
11+
deploy:
12+
- provider: script
13+
skip_cleanup: true
14+
script: curl -sL http://git.io/goreleaser | bash
15+
on:
16+
tags: true
17+
condition: "$TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION = '1.10'"
18+
env:
19+
global:
20+
# travis encrypt GITHUB_TOKEN=$GITHUB_TOKEN --add
21+
secure: I9Yst+EOHkjqLzRSbF1ivVdrSEXx3FZ98pK9SAf6xY0v6PBBRovWFHhfEWoeecgawcrHb+C/CKT/Tk3CYSmn1HWB6TTbSnL70LD0aGv+Zc4TnSFTj9X8gJbUkjV1nFKANBpef/IxftlGA5U7LWrDNzuiaMF8Rv2XHaH63vgEuv/9O4NZcuB/z+QdPIWHGH7cKz8AOb4SaR1uAVX/lZBMVzp3VuPU4WC2XkVYruaJMrUs1mhMrY/MGrQvmPueyY1y244W457oMCKGcY25KU4oDDmjgVx4J6+YS+BRvLtJa1TR4rk4GfieOVsCBMLjdHC/JHGQFR04hRE4aqEvPnVAgsooxD5dcMSyK81V2IUiKTEhusEBaN+4CCWvlntSvuMIxdtEDaQnGHOaRFeCHXxZGMjjrPT+a/eXepNcxLaTEQ2+hwEdEykSjPRvCsnx60DxsRUn1sM86/ixtdpv2QvRqUKh8fE+ltkxBQL36K8QviDNP6Oj3UCuCDL3+DJqQwlk5RMmg3kaSYHcnJ1z7QH4VbNpMSZsYh3SA+LsTey8KbJb9z954UTCacFBfFsKfrgSJWcSbLU1MF+5EB45WSKZTNk99e9WB+qlDSFPY+DF+V9qwokV1m/AI2xlYr0eSvMfMwd1jUvFCFyqSmfbOI0t2flWQ+UdQSL8yfs69N6uPzk=

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ By default, jplot uses the full size of the terminal, but it is possible to limi
2424
Using [homebrew](http://brew.sh/):
2525

2626
```
27-
brew install https://raw.githubusercontent.com/rs/jplot/master/jplot.rb
27+
brew install rs/tap/jplot
2828
```
2929

3030
From source:

release.sh

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)