laconicd/.travis.yml
thomasmodeneis 5417b4bb54
migrate build to Travis #258 (#259)
* 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
2020-04-29 22:38:57 +02:00

28 lines
498 B
YAML

language: go
go:
- 1.14.x
cache:
directories:
- "$HOME/.cache/go-build"
- "$GOPATH/pkg/mod"
matrix:
include:
- name: Verify deps & Lint
script:
- rm -rf $HOME/.cache/golangci-lint || true
- make verify build
- make lint
- name: Unit Tests
script:
- make test-import
- make test-unit
- name: Race Tests
script:
- make test-race
- name: Integration Tests
script:
- make it-tests || true