travis: clean nim dir before building
This commit is contained in:
parent
a5660439ce
commit
e34578b019
|
@ -9,7 +9,7 @@ cache:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- 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)
|
||||||
- "[ -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
|
- export PATH=$PWD/nim/$NIMVER/bin:$PATH
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue