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
|
- osx
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.9.x
|
- 1.10.x
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# build nim from our own branch - this to avoid the day-to-day churn and
|
# build nim from our own branch - this to avoid the day-to-day churn and
|
||||||
|
@ -24,20 +24,20 @@ install:
|
||||||
# flexibility to apply patches
|
# flexibility to apply patches
|
||||||
#
|
#
|
||||||
# check version of remote branch
|
# 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
|
# after building nim, wipe csources to save on cache space
|
||||||
- "{ [ -f nim/$NIMVER/bin/nim ] && [ -f nim/$NIMVER/bin/nimble ] ; } ||
|
# - "{ [ -f nim/$NIMVER/bin/nim ] && [ -f nim/$NIMVER/bin/nimble ] ; } ||
|
||||||
{ rm -rf nim ;
|
# { rm -rf nim ;
|
||||||
mkdir -p nim ;
|
# mkdir -p nim ;
|
||||||
git clone --depth=1 https://github.com/status-im/nim.git nim/$NIMVER ;
|
# git clone --depth=1 https://github.com/status-im/nim.git nim/$NIMVER ;
|
||||||
cd nim/$NIMVER ;
|
# cd nim/$NIMVER ;
|
||||||
sh build_all.sh ;
|
# sh build_all.sh ;
|
||||||
rm -rf csources ;
|
# rm -rf csources ;
|
||||||
cd ../.. ;
|
# cd ../.. ;
|
||||||
}"
|
# }"
|
||||||
- "export PATH=$PWD/nim/$NIMVER/bin:$PATH"
|
# - "export PATH=$PWD/nim/$NIMVER/bin:$PATH"
|
||||||
- go get github.com/libp2p/go-libp2p-daemon
|
- go get -v github.com/libp2p/go-libp2p-daemon
|
||||||
- cd $GOPATH/src/github.com/libp2p/go-libp2p-daemon
|
- cd $GOPATH/src/github.com/libp2p/go-libp2p-daemon
|
||||||
- make
|
- make
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue