From e34578b01917b325df7f1685fd555a0e5314c5af Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Sun, 26 Aug 2018 15:09:43 -0600 Subject: [PATCH] travis: clean nim dir before building --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1dbfd27e0..6d529ab6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ cache: install: - export NIMVER=$(git ls-remote https://github.com/status-im/nim.git HEAD | cut -f 1) - - "[ -f nim/$NIMVER/bin/nim ] || { mkdir -p nim; git clone https://github.com/status-im/nim.git nim/$NIMVER; cd nim/$NIMVER; sh build_all.sh; cd ../.. ; }" + - "[ -f nim/$NIMVER/bin/nim ] || { rm -rf nim ; mkdir -p nim; git clone https://github.com/status-im/nim.git nim/$NIMVER; cd nim/$NIMVER; sh build_all.sh; cd ../.. ; }" - export PATH=$PWD/nim/$NIMVER/bin:$PATH script: