Skip to content

Add helper to detect empty configuration - #122

Open
PranavMotarwar wants to merge 1 commit into
Netflix:masterfrom
PranavMotarwar:add-config-zero-helper
Open

Add helper to detect empty configuration#122
PranavMotarwar wants to merge 1 commit into
Netflix:masterfrom
PranavMotarwar:add-config-zero-helper

Add helper to detect empty configuration

dac1ada
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Jan 18, 2026 in 1m 45s

Build Errored

The build errored. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #122 Add helper to detect empty configuration.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Focal)
Go Version 1.20.x
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "sudo": true,
  "go": [
    "1.20.x"
  ],
  "env": [
    "jobs={:DEPLOY_DOCS=>\"\\\"$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)\\\"\"}"
  ],
  "services": [
    "docker"
  ],
  "install": [
    "docker pull mysql:8.0",
    "go install golang.org/x/lint/golint@latest",
    "go install github.com/kisielk/errcheck@latest",
    "go get github.com/spf13/afero@v0.0.0-20160919210114-52e4a6cfac46",
    "go get github.com/fsnotify/fsnotify@v1.3.2-0.20160816051541-f12c6236fe7b"
  ],
  "script": [
    "sudo service mysql stop",
    "diff -u <(echo -n) <(gofmt -d `find . -name '*.go' | grep -Ev '/vendor/|/migration'`)",
    "go list ./... | grep -Ev '/vendor/|/migration' | xargs -L1 golint",
    "go vet `go list ./... | grep -v /vendor/`",
    "errcheck -ignore 'io:Close' -ignoretests `go list ./... | grep -v /vendor/`",
    "go test -v  ./..."
  ],
  "after_success": [
    "./update-docs.sh"
  ]
}