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
bda3b040
Unverified
Commit
bda3b040
authored
Apr 11, 2019
by
Raúl Kripalani
Committed by
GitHub
Apr 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #29 from libp2p/fix-build
fix CI after deprecating gx
parents
725dc97d
60cd2f48
Pipeline
#645
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
.travis.yml
.travis.yml
+6
-12
No files found.
.travis.yml
View file @
bda3b040
...
...
@@ -7,23 +7,17 @@ go:
# 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 BUILDMODE=gx
-
TRAVIS_GOARCH=386 BUILDMODE=gx
-
TRAVIS_GOARCH=amd64 BUILDMODE=gomod
-
TRAVIS_GOARCH=386 BUILDMODE=gomod
-
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
:
-
|
if [ ${BUILDMODE} == "gx" ]; then
make deps;
fi
-
|
if [ ${BUILDMODE} == "gomod" ]; then
export GO111MODULE=on;
make testutils;
fi
export GO111MODULE=on;
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
...
...
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