forked from thrasher-corp/gocryptotrader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/thrasher-/gocryptotrader
* 'master' of https://github.com/thrasher-/gocryptotrader: Fixes theme picker reference error after changes in https://github.com/thrasher-/gocryptotrader/pull/154 Improved code quality (thrasher-corp#154) Improve request package and adjust bitfinex rate limiter Bump Travis golang version Update exchange wrapper template file Binance websocket (thrasher-corp#143) Adds support for new Huobi authorised requests and a tool for ecdsa keys Use WebsocketEvent in ws client and add timestamp to Tickers Fix race condition in request Bithumb replace deprecated API to new one Improve Bithumb API error handling Add bank details support Update README.md Skip BTCC tests as REST API is not available after infrastructure update Rename GDAX -> CoinbasePro Hotfix/web dependencies (thrasher-corp#149) Fixed some typos in binance types and updated binance trading symbols in config example (thrasher-corp#148)
- Loading branch information
Showing
109 changed files
with
8,547 additions
and
4,358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,31 @@ | ||
language: go | ||
matrix: | ||
include: | ||
- language: node_js | ||
node_js: | ||
- '10' | ||
- '8' | ||
- '6' | ||
before_install: | ||
- cd web/ | ||
install: | ||
- npm install | ||
script: | ||
- npm run lint | ||
- npm run build | ||
|
||
go: | ||
- 1.8.x | ||
#- master | ||
|
||
before_install: | ||
- go get -t -v ./... | ||
|
||
script: | ||
- ./testdata/test.sh | ||
|
||
install: | ||
- go get github.com/gorilla/websocket | ||
- go get github.com/toorop/go-pusher | ||
- go get github.com/thrasher-/socketio | ||
- go get github.com/beatgammit/turnpike | ||
- go get github.com/gorilla/mux | ||
- go get golang.org/x/crypto/scrypt | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
- language: go | ||
go: | ||
- 1.10.x | ||
before_install: | ||
- go get -t -v ./... | ||
script: | ||
- ./testdata/test.sh | ||
install: | ||
- go get github.com/gorilla/websocket | ||
- go get github.com/toorop/go-pusher | ||
- go get github.com/thrasher-/socketio | ||
- go get github.com/beatgammit/turnpike | ||
- go get github.com/gorilla/mux | ||
- go get golang.org/x/crypto/scrypt | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
FROM golang:1.9.4 as build | ||
WORKDIR /go/src/github.com/thrasher-/gocryptotrader | ||
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh | ||
WORKDIR /go/src/gocryptotrader | ||
COPY Gopkg.* ./ | ||
RUN dep ensure -vendor-only | ||
COPY . . | ||
RUN mv -vn config_example.json config.json \ | ||
&& go get -v -d \ | ||
&& GOARCH=386 GOOS=linux CGO_ENABLED=0 go install -v \ | ||
&& mv /go/bin/linux_386 /go/bin/gocryptotrader | ||
|
||
FROM alpine:latest | ||
RUN apk update && apk add --no-cache ca-certificates | ||
COPY --from=build /go/bin/gocryptotrader /app/ | ||
COPY --from=build /go/src/github.com/thrasher-/gocryptotrader/config.json /app/ | ||
COPY --from=build /go/src/gocryptotrader/config.json /app/ | ||
EXPOSE 9050 | ||
CMD ["/app/gocryptotrader"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.