Skip to content

Commit

Permalink
add ci tools
Browse files Browse the repository at this point in the history
  • Loading branch information
liujianping committed Jun 25, 2019
1 parent 0495641 commit 708dd50
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
# - go mod download
# you may remove this if you don't need go generate
# - go generate ./...
builds:
- env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: go
go:
- 1.11.x
env:
- GO111MODULE=on
before_install:
- go get github.com/mattn/goveralls
script:
- $GOPATH/bin/goveralls -service=travis-ci
- GOOS=windows go install -mod vendor github.com/liujianping/job
- GOOS=linux go install -mod vendor github.com/liujianping/job
- GOOS=darwin go install -mod vendor github.com/liujianping/job
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
ts
===
timestamp convert & compare tool

## Install

````bash
$: brew install ts
$: brew tap liujianping/tap && brew install ts

//OR

$: go get github.com/liujianping/ts
````

## Quick Start
Expand Down

0 comments on commit 708dd50

Please sign in to comment.