travis: clean nim dir before building

This commit is contained in:
Jacek Sieka 2018-08-26 15:09:43 -06:00
parent a5660439ce
commit e34578b019
No known key found for this signature in database
GPG Key ID: 6299FEB3EB6FA465
1 changed files with 1 additions and 1 deletions

View File

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