Skip to content

Commit

Permalink
Add AppVeyor support (thrasher-corp#289)
Browse files Browse the repository at this point in the history
Add AppVeyor support
  • Loading branch information
thrasher- authored May 3, 2019
1 parent 5ea82f1 commit f19cf37
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
build: off

clone_folder: c:\gopath\src\github.com\thrasher-\gocryptotrader

environment:
GOPATH: c:\gopath
GO111MODULE: on
NODEJS_VER: 10.15.3

stack: go 1.12.3

install:
- set Path=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%Path%
- ps: Install-Product node $env:NODEJS_VER
- cd c:\gopath\src\github.com\thrasher-\gocryptotrader\web
- npm install

before_test:
- cd c:\gopath\src\github.com\thrasher-\gocryptotrader
- go get

test_script:
# test back-end
- go get github.com/golangci/golangci-lint/cmd/[email protected]
- '%GOPATH%\bin\golangci-lint.exe run --verbose'
- go test -race ./...

# test front-end
- node --version
- npm --version
- cd c:\gopath\src\github.com\thrasher-\gocryptotrader\web
- npm run lint
- npm run build
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"sync"
"time"

"github.com/thrasher-/gocryptotrader/connchecker"
"github.com/thrasher-/gocryptotrader/common"
"github.com/thrasher-/gocryptotrader/connchecker"
"github.com/thrasher-/gocryptotrader/currency"
"github.com/thrasher-/gocryptotrader/currency/forexprovider"
"github.com/thrasher-/gocryptotrader/currency/forexprovider/base"
Expand Down

0 comments on commit f19cf37

Please sign in to comment.