diff --git a/.gitattributes b/.gitattributes index 9fc3c88..9f22417 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,5 @@ *.manifest text eol=crlf *.ico binary testdata/go/*.go text eol=lf +go.mod text eol=lf +go.sum text eol=lf diff --git a/.travis.yml b/.travis.yml index 142d8ed..6676d76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,28 +2,13 @@ os: windows sudo: false language: go go: - # - '1.0' - # - '1.1' - # - '1.2' - # - '1.3' - # - '1.4' - - '1.5' - - '1.6' - - '1.7' - - '1.8' - - '1.9' - - '1.10' - - '1.11' - - '1.12' - - '1.13' - - '1.14' + - "1.12" + - "1.13" + - "1.14" before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover - - go get github.com/akavel/rsrc/binutil - - go get github.com/akavel/rsrc/coff - - go get github.com/akavel/rsrc/ico script: # Install binary. - go install github.com/$TRAVIS_REPO_SLUG/cmd/goversioninfo @@ -31,4 +16,4 @@ script: - bash $TRAVIS_BUILD_DIR/testdata/bash/build.sh # Run tests and send coverage info. - cd $TRAVIS_BUILD_DIR - - $GOPATH/bin/goveralls -service=travis-ci \ No newline at end of file + - $GOPATH/bin/goveralls -service=travis-ci diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a103c19 --- /dev/null +++ b/go.mod @@ -0,0 +1,8 @@ +module goversioninfo + +go 1.12 + +require ( + github.com/akavel/rsrc v0.8.0 + github.com/josephspurrier/goversioninfo v1.0.0 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..779e343 --- /dev/null +++ b/go.sum @@ -0,0 +1,4 @@ +github.com/akavel/rsrc v0.8.0 h1:zjWn7ukO9Kc5Q62DOJCcxGpXC18RawVtYAGdz2aLlfw= +github.com/akavel/rsrc v0.8.0/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= +github.com/josephspurrier/goversioninfo v1.0.0 h1:xKsIMw1YMhDs9uD8ty3vMuBDpWOvpQPaqeod8nFe9nM= +github.com/josephspurrier/goversioninfo v1.0.0/go.mod h1:eJTEwMjXb7kZ633hO3Ln9mBUCOjX2+FlTljvpl9SYdE=