Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Docker build #102

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Golang upgrade remove ioutil deprecation for linting

a9a22ae
Select commit
Loading
Failed to load commit list.
Open

feat: Docker build #102

Golang upgrade remove ioutil deprecation for linting
a9a22ae
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 6, 2024 in 1m 42s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #102 feat: Docker build.
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 (Xenial)
Go Version 1.22.x
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": true,
  "go": [
    "1.22.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 github.com/kisielk/errcheck@latest",
    "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0"
  ],
  "script": [
    "sudo service mysql stop",
    "diff -u <(echo -n) <(gofmt -d `find . -name '*.go' | grep -Ev '/vendor/|/migration'`)",
    "go vet `go list ./... | grep -v /vendor/`",
    "errcheck -ignore 'io:Close' -ignoretests `go list ./... | grep -v /vendor/`",
    "make clean test build lint"
  ],
  "after_success": [
    "./update-docs.sh"
  ]
}