mirror of https://github.com/vacp2p/nim-libp2p.git
temporary fix #1
This commit is contained in:
parent
cd57a225a9
commit
8bbcf2d061
26
.travis.yml
26
.travis.yml
|
@ -16,7 +16,7 @@ os:
|
|||
- osx
|
||||
|
||||
go:
|
||||
- 1.9.x
|
||||
- 1.10.x
|
||||
|
||||
install:
|
||||
# build nim from our own branch - this to avoid the day-to-day churn and
|
||||
|
@ -24,20 +24,20 @@ install:
|
|||
# flexibility to apply patches
|
||||
#
|
||||
# check version of remote branch
|
||||
- "export NIMVER=$(git ls-remote https://github.com/status-im/nim.git HEAD | cut -f 1)"
|
||||
# - "export NIMVER=$(git ls-remote https://github.com/status-im/nim.git HEAD | cut -f 1)"
|
||||
|
||||
# after building nim, wipe csources to save on cache space
|
||||
- "{ [ -f nim/$NIMVER/bin/nim ] && [ -f nim/$NIMVER/bin/nimble ] ; } ||
|
||||
{ rm -rf nim ;
|
||||
mkdir -p nim ;
|
||||
git clone --depth=1 https://github.com/status-im/nim.git nim/$NIMVER ;
|
||||
cd nim/$NIMVER ;
|
||||
sh build_all.sh ;
|
||||
rm -rf csources ;
|
||||
cd ../.. ;
|
||||
}"
|
||||
- "export PATH=$PWD/nim/$NIMVER/bin:$PATH"
|
||||
- go get github.com/libp2p/go-libp2p-daemon
|
||||
# - "{ [ -f nim/$NIMVER/bin/nim ] && [ -f nim/$NIMVER/bin/nimble ] ; } ||
|
||||
# { rm -rf nim ;
|
||||
# mkdir -p nim ;
|
||||
# git clone --depth=1 https://github.com/status-im/nim.git nim/$NIMVER ;
|
||||
# cd nim/$NIMVER ;
|
||||
# sh build_all.sh ;
|
||||
# rm -rf csources ;
|
||||
# cd ../.. ;
|
||||
# }"
|
||||
# - "export PATH=$PWD/nim/$NIMVER/bin:$PATH"
|
||||
- go get -v github.com/libp2p/go-libp2p-daemon
|
||||
- cd $GOPATH/src/github.com/libp2p/go-libp2p-daemon
|
||||
- make
|
||||
|
||||
|
|
Loading…
Reference in New Issue