Skip to content

Remove deprecated sudo tag from .travis.yml

5367063
Select commit
Loading
Failed to load commit list.
Open

Remove deprecated sudo tag from .travis.yml #117

Remove deprecated sudo tag from .travis.yml
5367063
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Aug 23, 2025 in 1m 42s

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 #117 Remove deprecated sudo tag from .travis.yml.
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",
  "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"
  ]
}