Fix travis build

This commit is contained in:
Jakub Sztandera 2019-02-27 10:25:34 +01:00
parent fbe5d04bc0
commit 1be2230e6d

View File

@ -1,36 +1,33 @@
os: os:
- linux - linux
sudo: false
language: go language: go
env:
- IPFS_REUSEPORT=false
go: go:
- 1.11.x - 1.11.x
install: true env:
global:
- GOTFLAGS="-race"
- IPFS_REUSEPORT=false
matrix:
- BUILD_DEPTYPE=gx
- BUILD_DEPTYPE=gomod
jobs:
include:
- stage: "build and test"
name: "gx"
script:
- make deps
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
- name: "go mod" # disable travis install
script: install:
- export GO111MODULE=on - true
- make mod_deps
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) script:
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
cache: cache:
directories: directories:
- $GOPATH/pkg/mod - $GOPATH/src/gx
- $GOPATH/src/gx - $GOPATH/pkg/mod
- /home/travis/.cache/go-build
notifications: notifications:
email: false email: false