Skip to content

Commit 06f7d80

Browse files
authored
Merge pull request #96 from multiformats/feat/better-travis
Update travis config
2 parents 0297994 + b5f1479 commit 06f7d80

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.travis.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
os:
22
- linux
3-
- osx
43

54
language: go
65

76
go:
8-
- 1.10.x
7+
- 1.11.x
98

10-
install: true
9+
env:
10+
global:
11+
- GOTFLAGS="-race"
12+
matrix:
13+
- BUILD_DEPTYPE=gx
14+
- BUILD_DEPTYPE=gomod
1115

12-
before_install:
13-
- make deps
16+
17+
# disable travis install
18+
install:
19+
- true
1420

1521
script:
16-
- go vet
17-
- go test -race -coverprofile=coverage.txt -covermode=atomic
22+
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
1823

19-
after_success:
20-
- bash <(curl -s https://codecov.io/bash)
2124

2225
cache:
23-
directories:
24-
- $GOPATH/src/gx
26+
directories:
27+
- $GOPATH/src/gx
28+
- $GOPATH/pkg/mod
29+
- /home/travis/.cache/go-build
2530

2631
notifications:
2732
email: false

0 commit comments

Comments
 (0)