From e7e87763c3426b84602bdb5ba389add145242985 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Mon, 19 Nov 2018 04:39:34 +0200 Subject: [PATCH] Remove comments. --- .travis.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee1229a..92f1550 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: c # or other C/C++ variants +# xenial is required for GO 1.11.x dist: xenial sudo: false @@ -25,19 +26,19 @@ 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" + - "{ [ -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" - echo $TRAVIS_GO_VERSION - go get -v github.com/libp2p/go-libp2p-daemon - cd $GOPATH/src/github.com/libp2p/go-libp2p-daemon