temporary fix #1

This commit is contained in:
cheatfate 2018-11-19 04:15:45 +02:00
parent cd57a225a9
commit 8bbcf2d061
1 changed files with 13 additions and 13 deletions

View File

@ -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