forked from cerc-io/laconicd-deprecated
* add travis file * update lint so it reports properly * disable circleci * separate test structure into Verify deps & Lint, Unit Tests, Race Tests, Integration Tests * fix path issue now evident on ci build err * fixed golangci version to latest stable * Upgrade ci lint to go script and avoid cache issues #268 * fix lint issues #268 * bump go version for travis build to match go.mod version recently updated with Cosmos SDK upgrade * add panic for err edge cases on os.Stat * increase timeout to 10m since its failing on jenkins * bump GOLANGCI_VERSION to 1.23.8 in order to try avoiding some weird errors on CI
This commit is contained in:
@@ -151,12 +151,12 @@ test-cli:
|
||||
@echo "NO CLI TESTS"
|
||||
|
||||
lint:
|
||||
@echo "--> Running golangci-lint..."
|
||||
@${GO_MOD} golangci-lint run ./... -c .golangci.yml --deadline=5m
|
||||
@echo "--> Running ci lint..."
|
||||
GOBIN=$(PWD)/bin go run scripts/ci.go lint
|
||||
|
||||
test-import:
|
||||
@${GO_MOD} go test ./importer -v --vet=off --run=TestImportBlocks --datadir tmp \
|
||||
--blockchain blockchain --timeout=5m
|
||||
--blockchain blockchain --timeout=10m
|
||||
# TODO: remove tmp directory after test run to avoid subsequent errors
|
||||
|
||||
test-rpc:
|
||||
|
||||
Reference in New Issue
Block a user