Skip to content

Commit

Permalink
Use glide to install packages in travis, for consolidated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
polyrabbit committed Sep 27, 2018
1 parent 75f2ff5 commit 4e2a3bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,9 @@ language: go
go:
- stable

before_script:
install:
- go get -v github.com/Masterminds/glide
- glide install

script:
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
Expand Down
4 changes: 1 addition & 3 deletions main.go
Expand Up @@ -89,9 +89,7 @@ func checkForUpdate(httpClient *http.Client) {
releaseJSON.Tag = strings.TrimPrefix(releaseJSON.Tag, "v")
logrus.Debugf("Latest release tag is %s", releaseJSON.Tag)
if Version != "" && releaseJSON.Tag != Version {
color.New(color.FgYellow).Fprintf(os.Stderr, "You are using version %s, however version %s is available.\n",
Version, releaseJSON.Tag)
color.New(color.FgYellow).Fprintf(os.Stderr, "You should consider getting the latest release from '%s'.\n",
color.New(color.FgYellow).Fprintf(os.Stderr, "A new version is available at \"%s\".\n",
releaseJSON.Url)
}
}
Expand Down
6 changes: 3 additions & 3 deletions token_ticker.example.yaml
Expand Up @@ -68,9 +68,9 @@ exchanges:
tokens:
- BTCUSD

- name: BigONE
tokens:
- BIG-BTC
#- name: BigONE
# tokens:
# - BIG-BTC

- name: Poloniex
tokens:
Expand Down

0 comments on commit 4e2a3bf

Please sign in to comment.