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
mf
go-multiaddr
Commits
6040dff2
Unverified
Commit
6040dff2
authored
Jan 26, 2018
by
Hector Sanjuan
Committed by
GitHub
Jan 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #35 from multiformats/fix/travis
use standard travis-ci scripts and enable sudo
parents
28713bef
eb7107a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
30 deletions
+16
-30
.travis.yml
.travis.yml
+9
-4
Makefile
Makefile
+7
-26
No files found.
.travis.yml
View file @
6040dff2
os
:
os
:
-
linux
-
linux
language
:
go
sudo
:
true
sudo
:
false
language
:
go
go
:
go
:
-
1.
7
-
1.
9.x
install
:
install
:
-
make deps
-
make deps
script
:
script
:
-
make test
-
bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
cache
:
cache
:
directories
:
directories
:
-
$GOPATH/src/gx
-
$GOPATH/src/gx
notifications
:
email
:
false
env
:
GOTFLAGS="-race"
Makefile
View file @
6040dff2
export
PATH
:=
bin:
$(PATH)
export
IPFS_API
?=
v04x.ipfs.io
deps
:
gxbins
gx
:
bin/gx
install
--global
go get
-u
github.com/whyrusleeping/gx
b
in/gx-go
rewrite
go get
-u
github.com/whyrusleep
in
g
/gx-go
publish
:
deps
:
gx
bin/gx-go rewrite
--undo
gx
--verbose
install
--global
bin/gx publish
gx-go rewrite
test
:
deps
go
test
-race
-cpu
=
5
-v
./...
gxbins
:
bin/gx-v0.6.0 bin/gx-go-v1.2.0
bin/gx-v0.6.0
:
mkdir
-p
bin
./bin/dist_get gx bin/gx-v0.6.0 v0.6.0
ln
-s
gx-v0.6.0 bin/gx
bin/gx-go-v1.2.0
:
mkdir
-p
bin
./bin/dist_get gx-go bin/gx-go-v1.2.0 v1.2.0
ln
-s
gx-go-v1.2.0 bin/gx-go
clean
:
rm
-f
bin/gx
*
rm
-rf
bin/tmp
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