Unverified Commit baafdd62 authored by Marten Seemann's avatar Marten Seemann Committed by GitHub
Browse files

Merge pull request #26 from libp2p/gx-stuff

make the gx build work
parents 4ab984ad fac31145
...@@ -14,17 +14,18 @@ env: ...@@ -14,17 +14,18 @@ env:
# second part of the GOARCH workaround # second part of the GOARCH workaround
# now actually set the GOARCH env variable to the value of the temporary variable set earlier # now actually set the GOARCH env variable to the value of the temporary variable set earlier
before_install: before_install:
- go get golang.org/x/tools/cmd/cover - make deps
- go get github.com/onsi/ginkgo/ginkgo
- go get github.com/onsi/gomega
- export GOARCH=$TRAVIS_GOARCH - export GOARCH=$TRAVIS_GOARCH
- go env # for debugging - go env # for debugging
script: script:
- go get -t ./...
- ginkgo -r --cover --randomizeAllSpecs --randomizeSuites --trace --progress - ginkgo -r --cover --randomizeAllSpecs --randomizeSuites --trace --progress
after_success: after_success:
- cat libp2p-quic-transport.coverprofile > coverage.txt - cat go-libp2p-quic-transport.coverprofile > coverage.txt
- cat */*.coverprofile >> coverage.txt - cat */*.coverprofile >> coverage.txt
- bash <(curl -s https://codecov.io/bash) -f coverage.txt - bash <(curl -s https://codecov.io/bash) -f coverage.txt
cache:
directories:
- $GOPATH/src/gx
gx:
go get github.com/whyrusleeping/gx
go get github.com/whyrusleeping/gx-go
testutils:
go get golang.org/x/tools/cmd/cover
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
deps: gx testutils
gx --verbose install --global
gx-go rewrite
{ {
"author": "marten-seemann", "author": "marten-seemann",
"bugs": { "bugs": {
"url": "github.com/marten-seemann/libp2p-quic-transport" "url": "github.com/libp2p/go-libp2p-quic-transport"
}, },
"gx": { "gx": {
"dvcsimport": "github.com/marten-seemann/libp2p-quic-transport" "dvcsimport": "github.com/libp2p/go-libp2p-quic-transport"
}, },
"gxDependencies": [ "gxDependencies": [
{ {
"author": "marten-seemann", "author": "marten-seemann",
"hash": "QmbapvVZg9QkfWBeDmLK314rXbHim6xdeGFBr4TfZJrbga", "hash": "QmPL1Q7edxM6bHUy7rNjo6izmVte7fSbii64kr21wqmoZ2",
"name": "quic-conn", "name": "quic-go",
"version": "0.1.0" "version": "0.8.0"
},
{
"author": "multiformats",
"hash": "QmcyqRMCAXVtYPS4DiBrA7sezL9rRGfW8Ctx7cywL4TXJj",
"name": "go-multiaddr",
"version": "1.2.2"
},
{
"author": "whyrusleeping",
"hash": "QmSkUKdsSrEo1v28Y3NJ7vQT7jmbxg87g8ucbhctwHEqb4",
"name": "mafmt",
"version": "1.2.2"
}, },
{ {
"author": "whyrusleeping", "author": "whyrusleeping",
"hash": "QmSKoeo64CA54WNWqzVXHi5aT2LbgzP7B9VzQjW5yh7d4H", "hash": "QmW5LxJm2Yo3S7uVsfLM7NsJn2QnKbvZD7uYsZVYR7YViE",
"name": "go-libp2p-transport", "name": "go-libp2p-transport",
"version": "2.2.7" "version": "3.0.5"
},
{
"author": "whyrusleeping",
"hash": "QmcBtDaHnRxNpmJA6DwsWSUsUPVobRsoYFFkx1HnHMfY2v",
"name": "go-libp2p-peerstore",
"version": "1.4.7"
} }
], ],
"gxVersion": "0.11.0", "gxVersion": "0.11.0",
"language": "go", "language": "go",
"license": "", "license": "",
"name": "libp2p-quic-transport", "name": "go-libp2p-quic-transport",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.1.0" "version": "0.1.0"
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment