Commit b974186f authored by Marten Seemann's avatar Marten Seemann

run tests on Travis

parent 60d046ae
language: go
go:
- "1.10.x"
- "1.11.x"
# 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:
- make deps
- export GOARCH=$TRAVIS_GOARCH
- go env # for debugging
script:
- ginkgo -r -v --cover --randomizeAllSpecs --randomizeSuites --trace --progress
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
......@@ -5,6 +5,7 @@
[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![GoDoc](https://godoc.org/github.com/libp2p/go-libp2p-tls?status.svg)](https://godoc.org/github.com/libp2p/go-libp2p-tls)
[![Linux Build Status](https://img.shields.io/travis/libp2p/go-libp2p-tls/master.svg?style=flat-square&label=linux+build)](https://travis-ci.org/libp2p/go-libp2p-tls)
> go-libp2p's TLS encrypted transport
......
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