Skip to content

Commit 7a350a6

Browse files
authored
Merge pull request #2 from multiformats/feat/ci
CI: add Travis support
2 parents faeb707 + 7bdd7c6 commit 7a350a6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
os:
2+
- linux
3+
4+
language: go
5+
6+
go:
7+
- 1.11.x
8+
9+
env:
10+
global:
11+
- GOTFLAGS="-race"
12+
- IPFS_REUSEPORT=false
13+
matrix:
14+
- BUILD_DEPTYPE=gx
15+
- BUILD_DEPTYPE=gomod
16+
17+
18+
# disable travis install
19+
install:
20+
- true
21+
22+
script:
23+
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
24+
25+
26+
cache:
27+
directories:
28+
- $GOPATH/src/gx
29+
- $GOPATH/pkg/mod
30+
- /home/travis/.cache/go-build
31+
32+
notifications:
33+
email: false

0 commit comments

Comments
 (0)