travis: check for nimble also

This commit is contained in:
Jacek Sieka 2018-08-26 21:51:23 -06:00
parent e34578b019
commit 6df5daee5e
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 ] || { 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 ../.. ; }"
- "{ [ -f nim/$NIMVER/bin/nim ] && [ -f nim/$NIMVER/bin/nimble ] ; } || { 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: