Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-tls
Commits
cbbd95c6
Commit
cbbd95c6
authored
Mar 30, 2021
by
Marten Seemann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove Travis config
parent
646fe95c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
.travis.yml
.travis.yml
+0
-35
No files found.
.travis.yml
deleted
100644 → 0
View file @
646fe95c
language
:
go
go
:
-
"
1.14.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
:
-
|
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
script
:
# some tests are randomized. Run them a few times.
-
for i in `seq 1 10`; do
ginkgo -r -v --cover --randomizeAllSpecs --randomizeSuites --trace --progress;
done
after_success
:
-
cat go-libp2p-tls.coverprofile > coverage.txt
-
cat */*.coverprofile >> coverage.txt
-
bash <(curl -s https://codecov.io/bash) -f coverage.txt
cache
:
directories
:
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