From 86a85b9c2951df71c9c243f58a81c14ed87088af Mon Sep 17 00:00:00 2001 From: Minh Doan Date: Tue, 5 Feb 2019 23:20:26 -0800 Subject: [PATCH] trying to fix travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index d1d0aa275..275d276ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,12 @@ go: - stable go_import_path: github.com/harmony-one/harmony install: + - env GO111MODULE=on - export GOPATH=$HOME/gopath - export CGO_CPPFLAGS="-I$GOPATH/src/github.com/harmony-one/bls/include -I$GOPATH/src/github.com/harmony-one/mcl/include" - export CGO_LDFLAGS="-L$GOPATH/src/github.com/harmony-one/bls/lib -L$GOPATH/src/github.com/harmony-one/mcl/lib" - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GOPATH/src/github.com/harmony-one/bls/lib:$GOPATH/src/github.com/harmony-one/mcl/lib + - mkdir -p $HOME/gopath/src/github.com/harmony-one - cd $HOME/gopath/src - cd github.com/harmony-one - git clone https://github.com/harmony-one/mcl.git