travis: cache full nim installation
This commit is contained in:
parent
1bc8bb2e11
commit
87163160df
|
@ -5,13 +5,12 @@ cache:
|
||||||
ccache: true
|
ccache: true
|
||||||
directories:
|
directories:
|
||||||
- rocksdb-5.14.2
|
- rocksdb-5.14.2
|
||||||
|
- nim
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- git clone https://github.com/status-im/nim.git
|
- export NIMVER=$(git ls-remote git@github.com:status-im/nimbus.git HEAD | cut -f 1)
|
||||||
- cd nim
|
- [ -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 ../.. ; }
|
||||||
- sh build_all.sh
|
- export PATH=$PWD/nim/$NIMVER/bin:$PATH
|
||||||
- cd ..
|
|
||||||
- export PATH=$PWD/nim/bin:$PATH
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- nimble install -dy && nimble test
|
- nimble install -dy && nimble test
|
||||||
|
|
Loading…
Reference in New Issue