mg-transport-core/.travis.yml
Neur0toxine ac9e7e768e
All retailCRM currencies support (#16)
* all currencies supported in retailCRM"
* function which allows to pick currency symbol without interacting with map
* tweak for new function test
* check for undefined currency code
* increase timeout for failing test
* refactored test to WaitGroup, which resulted in finding and fixing actual data race in the job object
2020-10-20 15:19:36 +03:00

15 lines
363 B
YAML

language: go
env:
- GO111MODULE=on
go:
- '1.12'
- '1.13'
- '1.14'
before_install:
- go mod tidy
script:
- go test ./... -v -cpu 2 -timeout 10s -race -cover -coverprofile=coverage.txt -covermode=atomic
- go get -v -u github.com/axw/gocov/gocov
- gocov convert ./coverage.txt | gocov report
after_success:
- bash <(curl -s https://codecov.io/bash)