File tree Expand file tree Collapse file tree 2 files changed +16
-30
lines changed Expand file tree Collapse file tree 2 files changed +16
-30
lines changed Original file line number Diff line number Diff line change 1
1
os :
2
2
- linux
3
3
4
- language : go
4
+ sudo : true
5
5
6
- sudo : false
6
+ language : go
7
7
8
8
go :
9
- - 1.7
9
+ - 1.9.x
10
10
11
11
install :
12
12
- make deps
13
13
14
14
script :
15
- - make test
15
+ - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
16
16
17
17
cache :
18
18
directories :
19
19
- $GOPATH/src/gx
20
+
21
+ notifications :
22
+ email : false
23
+
24
+ env : GOTFLAGS="-race"
Original file line number Diff line number Diff line change 1
- export PATH := bin: $( PATH )
1
+ export IPFS_API ?= v04x.ipfs.io
2
2
3
- deps : gxbins
4
- bin/gx install --global
5
- bin/ gx-go rewrite
3
+ gx :
4
+ go get -u github.com/whyrusleeping/gx
5
+ go get -u github.com/whyrusleeping/ gx-go
6
6
7
- publish :
8
- bin/gx-go rewrite --undo
9
- bin/gx publish
10
-
11
- test : deps
12
- go test -race -cpu=5 -v ./...
13
-
14
- gxbins : bin/gx-v0.6.0 bin/gx-go-v1.2.0
15
-
16
- bin/gx-v0.6.0 :
17
- mkdir -p bin
18
- ./bin/dist_get gx bin/gx-v0.6.0 v0.6.0
19
- ln -s gx-v0.6.0 bin/gx
20
-
21
- bin/gx-go-v1.2.0 :
22
- mkdir -p bin
23
- ./bin/dist_get gx-go bin/gx-go-v1.2.0 v1.2.0
24
- ln -s gx-go-v1.2.0 bin/gx-go
25
-
26
- clean :
27
- rm -f bin/gx*
28
- rm -rf bin/tmp
7
+ deps : gx
8
+ gx --verbose install --global
9
+ gx-go rewrite
You can’t perform that action at this time.
0 commit comments