*(global): CI scripts

This commit is contained in:
Andrey Meshkov
2019-10-02 15:41:14 +03:00
parent c020c1d0af
commit b835baf013
5 changed files with 41 additions and 10 deletions

View File

@@ -11,6 +11,7 @@ os:
before_install:
- nvm install node
- npm install -g npm
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
install:
- npm --prefix client install
@@ -22,13 +23,7 @@ cache:
- $HOME/Library/Caches/go-build
script:
- node -v
- npm -v
# Run tests
- go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
# Make
- make build/static/index.html
- make
- /bin/bash ci.sh
after_success:
- bash <(curl -s https://codecov.io/bash)