Commit 1be2230e authored by Jakub Sztandera's avatar Jakub Sztandera

Fix travis build

parent fbe5d04b
os:
- linux
sudo: false
language: go
go:
- 1.11.x
env:
global:
- GOTFLAGS="-race"
- IPFS_REUSEPORT=false
matrix:
- BUILD_DEPTYPE=gx
- BUILD_DEPTYPE=gomod
go:
- 1.11.x
install: true
# disable travis install
install:
- true
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)
script:
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
- name: "go mod"
script:
- export GO111MODULE=on
- make mod_deps
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
cache:
directories:
- $GOPATH/pkg/mod
- $GOPATH/src/gx
directories:
- $GOPATH/src/gx
- $GOPATH/pkg/mod
- /home/travis/.cache/go-build
notifications:
email: false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment