add travis builds.

This commit is contained in:
Raúl Kripalani 2019-04-02 13:32:33 +01:00 committed by Raúl Kripalani
parent 0fd6f76610
commit b3a5093a76
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
os:
- linux
language: go
go:
- 1.12.x
env:
global:
- GOTFLAGS="-race"
matrix:
- BUILD_DEPTYPE=gomod
# disable travis install
install:
- true
script:
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
cache:
directories:
- $GOPATH/src/gx
- $GOPATH/pkg/mod
- $HOME/.cache/go-build
notifications:
email: false