f445fab28b
* Updates to config handling - Add functions to load in configs - Standardize location and naming of config files - Configuration over convention style of config file handling for each service * update config handling and correclty handle cli flags being set * generate configs from default if no config is found - renamed pointerdbDB to pointerdb for clarity in config file - set sane default for pkg/overlay boltDB file - set srvPort to default to 8082 to avoid port collision on default setting * linter updates * move boltdb path vars into function * update tests to handle config environment changes * --fix exec test mocks * update tests to use viper instead of flag library * fix typo * add redis-server to services in travis for tests * update examples with new config env function signature * fix tests
17 lines
348 B
YAML
17 lines
348 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.10.x
|
|
|
|
before_install:
|
|
- source scripts/travis-deps.sh
|
|
|
|
install:
|
|
- make build-dev-deps
|
|
|
|
script:
|
|
- make test
|
|
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -L 1 sh -c
|
|
- gover
|
|
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
|