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

travis: fix go_import_path #1072

Merged
merged 1 commit into from Nov 9, 2020

Commits on Oct 23, 2020

  1. travis: fix go_import_path

    Without this, Travis CI only works on the main repository
    (github.com/opencontainers/runtime-spec) but not on forks. It is useful
    to make Travis CI work on forks for contributors to be able to test
    their work before submitting a PR upstream.
    
    See:
    https://docs.travis-ci.com/user/languages/go#go-import-path
    
    Symptoms:
    ```
    $ make docs
    go run ./.tool/version-doc.go > version.md
    .tool/version-doc.go:10:2: cannot find package "github.com/opencontainers/runtime-spec/specs-go" in any of:
    	/home/travis/.gimme/versions/go1.11.13.linux.amd64/src/github.com/opencontainers/runtime-spec/specs-go (from $GOROOT)
    	/home/travis/gopath/src/github.com/opencontainers/runtime-spec/specs-go (from $GOPATH)
    Makefile:53: recipe for target 'version.md' failed
    make: *** [version.md] Error 1
    The command "make docs" exited with 2.
    ```
    
    Signed-off-by: Alban Crequy <alban@kinvolk.io>
    alban committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    8f65443 View commit details
    Browse the repository at this point in the history