Add build path for BLS

pull/297/head
Rongjian Lan 6 years ago
parent b4bd9280b2
commit d369bca38c
  1. 3
      .travis.yml

@ -3,6 +3,9 @@ go:
- master - master
install: install:
- export GOPATH=$HOME/gopath - 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
- cd $HOME/gopath/src - cd $HOME/gopath/src
- cd github.com/harmony-one/harmony - cd github.com/harmony-one/harmony
- go get -t -v ./... - go get -t -v ./...

Loading…
Cancel
Save