Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p-quic-transport
Commits
eb02a73d
Unverified
Commit
eb02a73d
authored
Mar 18, 2017
by
Marten Seemann
Browse files
add (empty) test suite and travis config
parent
94d1bf18
Changes
2
Show whitespace changes
Inline
Side-by-side
.travis.yml
0 → 100644
View file @
eb02a73d
language
:
go
go
:
-
1.7.5
-
1.8
# first part of the GOARCH workaround
# setting the GOARCH directly doesn't work, since the value will be overwritten later
# so set it to a temporary environment variable first
env
:
-
TRAVIS_GOARCH=amd64
-
TRAVIS_GOARCH=386
# second part of the GOARCH workaround
# now actually set the GOARCH env variable to the value of the temporary variable set earlier
before_install
:
-
go get golang.org/x/tools/cmd/cover
-
go get github.com/onsi/ginkgo/ginkgo
-
go get github.com/onsi/gomega
-
export GOARCH=$TRAVIS_GOARCH
-
go env
# for debugging
script
:
-
go get -t ./...
-
ginkgo -r --randomizeAllSpecs --randomizeSuites --trace --progress
libp2pquic_suite_test.go
0 → 100644
View file @
eb02a73d
package
libp2pquic
import
(
.
"github.com/onsi/ginkgo"
.
"github.com/onsi/gomega"
"testing"
)
func
TestQuicGo
(
t
*
testing
.
T
)
{
RegisterFailHandler
(
Fail
)
RunSpecs
(
t
,
"libp2p QUIC Transport Suite"
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment