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: